Essential .NET Libraries I Use
.NET libraries I highly recommend for probably every project
 
 | Library | Description | Link | 
|---|---|---|
| Microsoft.Extensions.DependencyInjection | I’m not going to try fit an explanation in here, but simply put, passing functions to functions. Dependency Injection is Loose Coupling | Microsoft Docs | 
| Microsoft.Extensions.Configuration | Well, where would we be without configuration, settings, environment variables, etc? | Configuration Providers in .NET, Configuration in ASP.NET Core | 
| Microsoft.Extensions.Logging | After years and years of everyone and their neighbour creating their own wrappers of other logging libraries and abstractions of ILoggerandILoggerFactorythere is finally a “single source of truth”. | Logging in .NET Core and ASP.NET Core | 
| Serilog | There have been and are several popular logging libraries for .NET. In my opinion, Serilog is easily the best one by a margin because of it’s Semantic Logging. | Serilog | 
| Serilog.Extensions.Logging | Speaking of Microsoft.Extensions.LoggingandSerilog, this library ties the two together so you get the niceILoggertype injected into your constructors without it being a specific dependency from Serilog. | Serilog provider for Microsoft.Extensions.Logging | 
| CsvHelper | Of course, this one’s only useful if you’re software is processing CSV files. | CsvHelper | 
| Stateless | A fantastic library for creating finite state machines. Can be used for everything from modelling UI’s to complex business processes. | FSM article | 
    
Want to leave a comment?
Reply