Common utilities and features for any .NET application. This library acts like a complement of the SDK, giving more functionalities without having external dependencies. The tool is divided in three different NuGet Packages:
-
CommonNET Base library: Base library, without dependencies, useful for any kind of .NET Project
-
CommonNET AspNet library: Library with Base and utilities for an AspNetCore project
-
CommonNET WPF library: Controls, Models and Utitilities for a WPF .NET Core project. It has additionally the functionalities from CommonNET base library
There are no requirements, library has not any dependencies in order to make architectural implementation as decoupled as possible. Just install in the project to use and it will be ready, depending on your project type
-
Targets:
- .NET Framework >= 4.7
- .NET >= 6.0
-
Installation
- Install-Package ChustaSoft.Common
-
Use
- Tool is mainly divided in:
- Builders: Builders for different complex object creation such as ActionResponse
- Contracts: Generic contracts definition such as IBuilder or IMapper
- Enums: Needed types for the assembly and for its use
- Models: Common POCO models
- Exceptions: Extended Exceptions for general purpose
- Helpers: Helper classes, Static and Extension methods to ease common technical requirements
- Utilities: Objects to simplify certain operations.
- Tool is mainly divided in:
-
Targets:
- .NET >= 6.0
-
Installation
- Install-Package ChustaSoft.Common.AspNet
-
Use
- Tool is mainly divided in:
- Base: ApiControllerBase is a rich controller with the main functionalities, and forces the inherited Controllers to inject an ILogger defined in the client project
- Tool is mainly divided in:
-
Targets (Windows only):
- .NET >= 6.0
-
Installation
- Install-Package ChustaSoft.Common.Wpf
-
Use
- Tool is mainly divided in:
- Base: ViewModelBase and TraceableModelBase to inherit from them
- Controls: Generic WPF UserControls are placed here
- Helpers: Converters, Commands and Extension methods are there
- Models: Models required for the library or potentially reusable are there
- Tool is mainly divided in:
Specific documentation of any class and general methods could be found inside classes and exposed methods