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 49.1K

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 1.2K

WordPressPCL

This is a portable library for consuming the WordPress REST-API in (almost) any .NET application.

Top Pick Web 1.5M

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 280.0M

MyCSharp.HttpUserAgentParser

Parses user agents for Browser, Platform and Bots.

Top Pick Web 2.3M

MyCSharp.HttpClientHints

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

Top Pick Web 2.4K

OpenWeatherMapSharp

An unofficial .NET API wrapper for OpenWeatherMap.org

Top Pick Web 20.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 793.1K

trx2junit

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

Top Pick Tools 13.3M

NetEscapades.AspNetCore.SecurityHeaders

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

Top Pick Web 15.5M

FluentValidation

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

Top Pick Tools 875.3M

Mediator.SourceGenerator

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

Community Favorite Architecture 4.5M

Scrutor

Register services using assembly scanning and a fluent API.

Top Pick Tools 255.5M

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 13.5M

StackExchange.Redis

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

Essential Data 941.6M

protobuf-net

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

Top Pick Tools 224.7M

Dapper

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

Essential Data 641.9M

MiniProfiler

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

Essential Tools 23.2M

RestSharp

Simple REST and HTTP API Client

Essential Web 523.6M

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 18.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 604.0M

Meziantou.Analyzer

A Roslyn analyzer to enforce some good practices in C#

Community Favorite Tools 15.9M

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 243.0M

BenchmarkDotNet

Powerful .NET library for benchmarking

Essential Testing 62.5M

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 16.4M

Refit

The automatic type-safe REST library for Xamarin and .NET

Top Pick Web 160.8M

SixLabors.ImageSharp

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

Top Pick Tools 244.6M

Markdig

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

Top Pick Tools 58.1M

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 272.3M

Humanizer

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

Community Favorite Tools 128.7M

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 139.4M

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 28.9M

Serilog

Simple .NET logging with fully-structured events

Essential Tools 2.6B

Spectre.Console

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

Top Pick Tools 37.0M

OpenTelemetry

OpenTelemetry .NET SDK

Essential Tools 456.6M

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 442.8M

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 40.8M

System.Reactive

Reactive Extensions (Rx) for .NET

Essential Tools 362.4M

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 399.2M

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 212.6M

Npgsql

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

Essential Data 765.4M

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.3B

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 537.9M

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 307.9M

Featured Publishers