Common functionalities and utilities for any .NET project


Keywords
Utilities, Helpers, Common, Core, netcore, nuget
License
GPL-2.0
Install
Install-Package ChustaSoft.Common -Version 2.8.0

Documentation

Description

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

    • Build Status NuGet NuGet
  • CommonNET AspNet library: Library with Base and utilities for an AspNetCore project

    • Build Status NuGet NuGet
  • CommonNET WPF library: Controls, Models and Utitilities for a WPF .NET Core project. It has additionally the functionalities from CommonNET base library

    • Build Status NuGet NuGet

Getting started

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

CommonNET

  • 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.

CommonNET.AspNet

  • 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

CommonNET.Wpf

  • Targets (Only Windows):

    • .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

Specific documentation of any class and general methods could be found inside classes and exposed methods

Thanks for using and contributing

Twitter Follow