I remember that when I was a novice developer, my colleagues always told me that I had to write code without having to use Tools, Add-ons, IDE, DLL, etc. to get guides, good practices or maybe not redo the wheel. Well, times have changed and now developers, regardless of whether they are new or superior, do not have such prejudices, but today they dare to tell me why I do this in this way if there is already a package that solves it and it is really phenomenal all the packages you can find in nuget. So many solutions, algorithms and tools that make our lives easier every day.

So here I share my recommended list of dotnet nugets packages:

  • FluentValidation
    • A validation library for .NET that uses a fluent interface to construct strongly-typed validation rules.
  • Autofac
    • It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity.
  • NUnit
    • fluent assert syntax, parameterized, generic and theory tests and is user-extensible.
  • Moq
    • is the most popular and friendly mocking framework for .NET.
  • iTextSharp
    •  is a PDF library that allows you to CREATE, ADAPT, INSPECT and MAINTAIN documents in the Portable Document Format (PDF), allowing you to add PDF functionality to your software projects with ease.
  • Lib.AspNetCore.Security
    • is a library which provides security features like Content Security Policy, Strict Transport Security or Expect-CT for ASP.NET
  • Swagger
    • Middleware to expose Swagger JSON endpoints from API’s built on ASP.NET.
  • Elmah
    • is an application-wide error logging facility that is completely pluggable. 
  • HtmlAgilityPack
    • This is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT.
  • StackExchange.Redis
    • High performance Redis client, incorporating both synchronous and asynchronous usage.
  • HangFire
    • An easy and reliable way to perform fire-and-forget, delayed and recurring, long-running, short-running, CPU or I/O intensive tasks inside ASP.NET applications.
  • MiniProfiler
    • Lightweight mini-profiler, designed for ASP.NET (including MVC) (non-.NET Core) websites
  • Audit.NET
    • An extensible framework to audit executing operations in .NET and .NET Core.
  • EnterpriseLibrary.Common
    • The Enterprise Library Common assembly contains elements that are shared among multiple application blocks. 
  • EnterpriseLibrary.Data
    • The Enterprise Library Data Access Application Block simplifies the development of tasks that implement common data access functionality. 
  • Dapper
    • A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc..
  • Npgsql
    • Npgsql is the open source .NET data provider for PostgreSQL.
  • LinqKit
    • LinqKit.EntityFramework contains extensions for LINQ to SQL and Entity Framework. Include(…) and IAsync are supported.
  • DocumentFormat.OpenXml
    • The Open XML SDK provides tools for working with Office Word, Excel, and PowerPoint documents. 
  • Newtonsoft.json
    • Json.NET is a popular high-performance JSON framework for .NET
  • Unity
    • This package contains Unity Container and Abstractions libraries as a single package.

This post is also available on DEV.