CoreLibrary Threads
License
—
Deps
36
Install Size
—
Vulns
✓ 0
Published
Feb 2, 2026
$ dotnet add package Net4x.CoreLibrary.ForEachCoreLibrary is a modular collection of .NET utility libraries, helpers, and samples created to provide common functionality across applications and projects. It is organized into multiple smaller projects (packages) so you can pick only the components you need.
CoreLibrary.Base / CoreLibrary.Classes - foundational types, extensions, and base classes.CoreLibrary.Interfaces / CoreLibrary.Interfaces.* - interface definitions used across modules (logging, configuration, general helpers).CoreLibrary.Logging - logging abstractions and implementations, plus integrations such as CoreLibrary.Serilog and CoreLibrary.FileLogger.CoreLibrary.Files - file utilities.CoreLibrary.Threads - threading utilities and helpers.CoreLibrary.ForEach - helper utilities for collection iteration patterns.CoreLibrary.TypedBackgroundWorker - background worker with typed messages and tests.CoreLibrary.PassingProperties - utilities for passing properties/state between components.This repository contains projects targeting multiple frameworks to maximize compatibility, including:
Individual project .csproj files specify their exact target frameworks.
Most SDK-style projects can be built with the .NET CLI:
dotnet build <project-or-solution-file>
Note: Some legacy projects target older .NET Framework TFMs and require Visual Studio/MSBuild to build successfully.
Unit tests are available in the CoreLibraryTest project(s). Run tests using Test Explorer in Visual Studio or the .NET CLI where supported:
dotnet test CoreLibraryTest/CoreLibraryTest.csproj
If multiple test project targets exist, pick the appropriate test project variant for your environment.
Many projects are intended to be used as class libraries and may be packaged as NuGet packages. Packaging can be done with the .NET CLI where applicable:
dotnet pack <project-file>
Consult individual project settings for package metadata and versioning.
Contributions are welcome. Suggested workflow:
Copyright (c) Piero Viano. All rights reserved.
If a separate license file is present in the repository, consult it for license details.
For questions or issues, please open an issue in the repository or contact the maintainer.