Skip to main content

Featured

Hand-picked packages and publishers from the .NET ecosystem

Featured Packages

StrongOf

StrongOf helps to implement primitives as a strong type that represents a domain object (e.g. UserId, EmailAddress, etc.). It is a simple class that wraps a value and provides a few helper methods to make it easier to work with. In contrast to other approaches, StrongOf is above all simple and performant - and not over-engineered.

Top Pick Architecture 55.7K

Unio

Unio provides high-performance, struct-based discriminated unions for C#. Zero-allocation, exhaustive matching, Match, Switch and TryGet patterns and full value semantics. Simple, performant and scalable.

Top Pick Architecture 3.0K

WordPressPCL

This is a .NET 10 library for consuming the WordPress REST API in C# applications.

Top Pick Web 1.8M

AutoFixture

AutoFixture makes it easier for developers to do Test-Driven Development by automating non-relevant Test Fixture Setup, allowing the Test Developer to focus on the essentials of each test case.

Essential Testing 310.1M

MyCSharp.HttpUserAgentParser

Parses user agents for Browser, Platform and Bots.

Top Pick Web 3.3M

MyCSharp.HttpClientHints

Reads HTTP Client Hints to identify Browsers, Platforms and Bots.

Top Pick Web 3.0K

OpenWeatherMapSharp

An unofficial .NET API wrapper for OpenWeatherMap.org

Top Pick Web 26.0K

gfoidl.Base64

A library for base64 encoding / decoding, as well as base64url support. For .NET Core 3.0 onwards encoding / decoding is done with SIMD-support.

Top Pick Tools 845.4K

trx2junit

Transforms XML from trx-Testresults to JUnit-Testresults / trx to JUnit XML

Top Pick Tools 15.5M

NetEscapades.AspNetCore.SecurityHeaders

Middleware for ASP.NET Core to automatically add security headers to requests.

Top Pick Web 17.8M

FluentValidation

A validation library for .NET that uses a fluent interface to construct strongly-typed validation rules.

Top Pick Tools 987.1M

Mediator.SourceGenerator

A high performance .NET Mediator pattern implemenation using source generation.

Community Favorite Architecture 6.9M

Scrutor

Register services using assembly scanning and a fluent API.

Top Pick Tools 287.4M

MimeTypes

A simple lookup from file name/extension to MIME/media type and vice versa, generated from mime-db, which in turn is compiled from IANA, Apache and nginx's MIME types.

Top Pick Tools 16.3M

StackExchange.Redis

High performance Redis client, incorporating both synchronous and asynchronous usage.

Essential Data 1.1B

protobuf-net

Provides simple access to fast and efficient "Protocol Buffers" serialization from .NET applications

Top Pick Tools 252.7M

Dapper

A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc. Major Sponsor: Dapper Plus from ZZZ Projects.

Essential Data 718.2M

MiniProfiler

Lightweight mini-profiler, designed for ASP.NET (including MVC) (non-.NET Core) websites

Essential Tools 24.0M

RestSharp

Simple REST and HTTP API Client

Essential Web 568.5M

xunit.v3

xUnit.net is a developer testing framework, built to support Test Driven Development, with a design goal of extreme simplicity and alignment with framework features. Supports .NET Framework 4.7.2 or later and .NET 8 or later. Installing this package installs xunit.v3.mtp-v1.

Essential Testing 33.4M

NUnit

NUnit is a unit-testing framework for all .NET languages. It can run on macOS, Linux and Windows operating systems. NUnit can be used for a wide range of testing, from unit testing with TDD to full-fledged system and integration testing. It is a non-opinionated, broad and deep framework with multiple different ways to assert that your code behaves as expected. Many aspects of NUnit can be extended to suit your specific purposes. The latest version, version 4, is an upgrade from the groundbreaking NUnit 3 framework. It is a modernized version, aimed at taking advantage of the latest .NET features and C# language constructs. If you are upgrading from NUnit 3, be aware of the breaking changes (https://docs.nunit.org/articles/nunit/release-notes/breaking-changes.html#nunit-40). Please see the NUnit 4 Migration Guide (https://docs.nunit.org/articles/nunit/release-notes/Nunit4.0-MigrationGuide.html) and take care to prepare your NUnit 3 code before you do the upgrade. Supported platforms: - .NET Framework 4.6.2+ - .NET 6.0+ - .NET 8.0+

Community Favorite Testing 662.6M

Meziantou.Analyzer

A powerful C# Roslyn analyzer that uses static analysis to detect bugs, surface security issues, and enforce best practices—helping developers and AI write more reliable code.

Community Favorite Tools 20.7M

NSubstitute

NSubstitute is a friendly substitute for .NET mocking libraries. It has a simple, succinct syntax to help developers write clearer tests. NSubstitute is designed for Arrange-Act-Assert (AAA) testing and with Test Driven Development (TDD) in mind.

Community Favorite Testing 281.4M

BenchmarkDotNet

Powerful .NET library for benchmarking

Essential Testing 73.3M

SmartFormat.NET

This package contains the core SmartFormat assemblies with core extensions built-in, and includes references to additional SmartFormat.Extensions packages. SmartFormat is a lightweight text templating library written in C#. It can format various data sources into a string with a minimal, intuitive syntax similar to string.Format. It uses extensions to provide named placeholders, localization, pluralization, gender conjugation, and list and time formatting.

Community Favorite Tools 17.6M

Refit

Type-safe REST API clients for .NET, generated from annotated interfaces with build-time source generation, direct request construction, System.Text.Json defaults, and support for trimming and AOT.

Top Pick Web 180.8M

SixLabors.ImageSharp

A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET

Top Pick Tools 284.7M

Markdig

Markdig is a fast, powerful, CommonMark compliant, extensible Markdown processor for .NET.

Top Pick Tools 69.6M

NodaTime

Noda Time is a date and time API acting as an alternative to the built-in DateTime/DateTimeOffset etc types in .NET.

Essential Tools 307.2M

Humanizer

Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities

Community Favorite Tools 149.4M

Microsoft.FeatureManagement

Microsoft.FeatureManagement provides a way to develop and expose application functionality based on features. Many applications have special requirements when a new feature is developed such as when the feature should be enabled and under what conditions. This library provides a way to define these relationships, and also integrates into common .NET code patterns to make exposing these features possible.

Top Pick Microsoft 162.2M

Nerdbank.GitVersioning

Stamps your assemblies with semver 2.0 compliant git commit specific version information and provides NuGet versioning information as well.

Top Pick Tools 33.9M

Serilog

Simple .NET logging with fully-structured events

Essential Tools 3.0B

Spectre.Console

A library that makes it easier to create beautiful console applications.

Top Pick Tools 49.2M

OpenTelemetry

OpenTelemetry .NET SDK

Essential Tools 585.2M

YamlDotNet

YamlDotNet is a .NET library for YAML. YamlDotNet provides low level parsing and emitting of YAML as well as a high level object model similar to XmlDocument. A serialization library is also included that allows to read and write objects from and to YAML streams.

Top Pick Tools 514.7M

Scriban

Scriban is a fast, powerful, safe and lightweight scripting language and engine for .NET, which was primarily developed for text templating with a compatibility mode for parsing liquid templates.

Top Pick Tools 48.9M

System.Reactive

Reactive Extensions (Rx) for .NET

Essential Tools 405.9M

DnsClient

DnsClient.NET is a simple yet very powerful and high performance open source library for the .NET Framework to do DNS lookups

Top Pick Tools 455.4M

Bogus

A simple and sane data generator for populating objects that supports different locales. A delightful port of the famed faker.js and inspired by FluentValidation. Use Bogus to create UIs with fake data or seed databases. Get started by using Faker class or a DataSet directly.

Top Pick Testing 263.8M

Npgsql

Npgsql is the open source .NET data provider for PostgreSQL.

Essential Data 900.7M

Polly

Polly is a .NET resilience and transient-fault-handling library that allows developers to express resilience and transient fault handling policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner.

Essential Tools 1.5B

NLog

NLog is a logging platform for .NET with rich log routing and management capabilities. NLog supports traditional logging, structured logging and the combination of both. Supported platforms: - .NET 6, 7, 8, 9 and 10 - .NET Standard 2.0 and 2.1 - .NET Framework 3.5 - 4.8 - Xamarin Android + iOS (.NET Standard) - Mono 4 For integrating NLog with Microsoft.Extensions.Logging, check: https://www.nuget.org/packages/NLog.Extensions.Logging For using NLog with ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore

Essential Tools 593.5M

HtmlAgilityPack

This is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT (you actually don't HAVE to understand XPATH nor XSLT to use it, don't worry...). It is a .NET code library that allows you to parse "out of the web" HTML files. The parser is very tolerant with "real world" malformed HTML. The object model is very similar to what proposes System.Xml, but for HTML documents (or streams). --------------------------------------- This library is sponsored by ZZZ Projects: https://entityframework-extensions.net/ https://eval-expression.net/ https://dapper-plus.net/ --------------------------------------- HAP is trusted by companies worldwide with over 150 million downloads.

Essential Tools 339.6M

Featured Publishers