Essential .NET Libraries I Use

.NET libraries I highly recommend for probably every project
.NET Logo
.NET Logo
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 ILogger and ILoggerFactory there 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.Logging and Serilog, this library ties the two together so you get the nice ILogger type 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

© Lloyd Atkinson 2026