net-libraries-that-make-your-life-easier icon indicating copy to clipboard operation
net-libraries-that-make-your-life-easier copied to clipboard

Open Source .NET libraries that make your life easier.

This is a list I've made after reading this HN thread (and its article). I found the links so useful that I'll probably need to check those later.

Feel free to suggest a library (by opening an issue or creating a pull request).

Ah, and make sure to also check these other great lists:

Open Source .NET libraries that make your life easier

  • Abot
  • AdonisUI
  • Akka.NET
  • AngleSharp
  • Autofac
  • AutoMapper
  • BCrypt.Net
  • BenchmarkDotNet
  • Bogus
  • Caliburn.Micro
  • ChameleonForms
  • Cinchoo ETL
  • CodeJam
  • CommonMark.NET
  • CoordinateSharp
  • CsvHelper
  • Cirqus
  • Dapper
  • DoddleReport
  • DotVVM
  • Dynamic Data
  • Effort
  • ELMAH
  • EPPlus
  • Fasterflect
  • Fibber
  • Fixie
  • FlatFiles
  • FlubuCore
  • FluentAssertions
  • FluentMigrator
  • FluentScheduler
  • FluentValidation
  • Flurl
  • Formo
  • FsCheck
  • Glimpse
  • Hangfire
  • Hashids
  • HtmlAgilityPack
  • Humanizer
  • Hyperletter
  • ImageResizer
  • Insight.Database
  • Jil
  • Json.NET
  • Lazy Cache
  • libsodium
  • LINQ to DB
  • LiteDB
  • Logary
  • MahApps.Metro
  • MailKit
  • MediatR
  • MetadataExtractor
  • MimeKit
  • MiniProfiler
  • Nancy
  • NAudio
  • NFluent
  • NLog
  • NPOI
  • NSubstitute
  • OpaqueMail
  • Polly
  • Postal
  • Quartz.NET
  • Refit
  • Regextra
  • Restful Routing
  • RestSharp
  • Serilog
  • ServiceStack
  • SharpNetSH
  • Shouldly
  • Simple.Data
  • SpecsFor
  • StructureMap
  • Suave
  • T4MVC
  • TinyMapper
  • Topshelf
  • TuesPechkin
  • Units.NET
  • Web Markup Minifier
  • Scientist.net
  • Serenity
  • SharpZipLib
  • Sprache
  • StackExchange.Redis
  • Storage.Net
  • SuperSocket
  • Websocket-sharp
  • YamlDotNet

Abot

GitHub NuGet

C# web crawler built for speed and flexibility.

AdonisUI

GitHub NuGet

Lightweight UI toolkit for WPF applications offering classic but enhanced Windows visuals.

Akka.NET

GitHub NuGet

Port of Akka actors for .NET.

AngleSharp

GitHub NuGet

AngleSharp is the ultimate angle brackets parser library. It parses HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specification.

Autofac

GitHub NuGet

An addictive .NET IoC container.

AutoMapper

GitHub NuGet

A convention-based object-object mapper in .NET.

BCrypt.Net

GitHub CodePlex NuGet

A .Net port of jBCrypt implemented in C#.

BenchmarkDotNet

GitHub NuGet

Powerful .NET library for benchmarking.

Bogus

GitHub NuGet

A simple and sane fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.

Caliburn.Micro

GitHub NuGet

A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.

ChameleonForms

GitHub NuGet

This library will shape-shift your forms experience in ASP.NET MVC.

Cinchoo ETL

GitHub NuGet

ETL Framework for .NET (Parser / Writer for CSV, Flat, Xml, JSON, Key-Value formatted files).

CodeJam

GitHub Nuget

Set of handy reusable .NET components that can simplify your daily work and save your time when you copy and paste your favorite helper methods and classes from one project to another

CommonMark.NET

GitHub Nuget

Implementation of CommonMark specification in C# for converting Markdown documents to HTML.

CoordinateSharp

GitHub Nuget

A library designed to ease geographic coordinate format conversions, and determine sun/moon information in C#

CsvHelper

GitHub NuGet

Library to help reading and writing CSV files.

Cirqus

GitHub NuGet

d60 event sourcing + CQRS framework.

Dapper

GitHub NuGet

A simple object mapper for .Net.

DoddleReport

GitHub NuGet

DoddleReport generates tabular reports from any IEnumerable datasource.

DotVVM

GitHub NuGet

MVVM framework for people who don't like to write JavaScript, with OWIN and ASP.NET Core support and a free extension for Visual Studio 2015 and 2017

Dynamic Data

GitHub NuGet

Reactive extensions for collections.

Effort

GitHub NuGet

Effort is a powerful tool that enables a convenient way to create automated tests for Entity Framework based applications.

ELMAH

GitHub NuGet

Error Logging Modules and Handlers for ASP.NET.

EPPlus

GitHub CodePlex NuGet

EPPlus is a .net library that reads and writes Excel 2007/2010 files using the Open Office Xml format (xlsx).

Fasterflect

GitHub CodePlex NuGet

.NET library that improves your productivity and application performance when performing reflection operations. It allows you to perform metadata lookup and reflection invocation intuitively while achieving greater performance than the built-in .NET Reflection.

Fibber

GitHub NuGet

An indiscriminate data generator that will generate random data for all properties in a given class based on the property's type vs. its name.

Fixie

GitHub NuGet

Conventional Testing for .NET.

FlatFiles

GitHub NuGet

Reads and writes CSV, fixed-length and other flat file formats with a focus on schema definition, configuration and speed.

FlubuCore

GitHub NuGet

A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code.

Fluent Assertions

GitHub NuGet

Fluent Assertions is a set of .NET extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style test.

FluentMigrator

GitHub NuGet

Fluent Migrations framework for .net.

FluentScheduler

GitHub NuGet

Task scheduler with fluent interface that runs automated tasks (cron jobs) from your application.

FluentValidation

GitHub NuGet

A small validation library for .NET that uses a fluent interface and lambda expressions for building validation rules.

Flurl

GitHub NuGet

Fluent URL builder and testable HTTP for .NET.

Formo

GitHub NuGet

Formo allows you to use your configuration file as a dynamic object. Turn your web.config or application settings into a rich, dynamic object.

FsCheck

GitHub NuGet

Random Testing for .NET.

Glimpse

GitHub NuGet

The open source diagnostics platform for the web.

Hangfire

GitHub NuGet

Incredibly easy way to perform fire-and-forget, delayed and recurring tasks inside ASP.NET applications.

Hashids

GitHub NuGet

A small .NET package to generate YouTube-like hashes from one or many numbers. Use hashids when you do not want to expose your database ids to the user.

HtmlAgilityPack

GitHub NuGet

An agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT allowing you to parse "out of the web" HTML files.

Humanizer

GitHub NuGet

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

Hyperletter

GitHub NuGet

Hyperletter helps you distribute your system, like a mix of WCF and ZeroMQ.

ImageResizer

GitHub NuGet

The official repository for ImageResizer.

Jil

GitHub NuGet

Fast .NET JSON (De)Serializer, Built On Sigil.

Json.NET

GitHub NuGet

Json.NET is a popular high-performance JSON framework for .NET.

Insight.Database

GitHub NuGet

Fast, lightweight .NET micro-ORM.

Lazy Cache

GitHub NuGet

An easy to use thread safe in-memory caching service with a simple developer friendly API for C#

libsodium

GitHub NuGet

A secure cryptographic library.

LINQ to DB

GitHub NuGet

Linq to database provider.

LiteDB

GitHub NuGet

A .NET NoSQL Document Store in a single data file.

Logary

GitHub NuGet

Logary is the best logging framework for .Net. It's a high performance, multi-target logging, metric and health-check library for mono and .Net.

MahApps.Metro

GitHub NuGet

A toolkit for creating Metro / Modern UI styled WPF apps.

MailKit

GitHub NuGet

A cross-platform .NET library for IMAP, POP3, and SMTP.

MediatR

GitHub NuGet

Simple, unambitious mediator implementation in .NET

MetadataExtractor

GitHub NuGet

A cross-platform .NET library for extracting metadata (including Exif, IPTC, XMP, ICC) from image and video formats (including JPEG, PNG, GIF).

MimeKit

GitHub NuGet

A cross-platform .NET MIME creation and parser library with support for S/MIME, PGP, DKIM, TNEF and Unix mbox spools.

MiniProfiler

GitHub NuGet

A simple but effective mini-profiler for ASP.NET (and Core) websites

Nancy

GitHub NuGet

Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono.

NAudio

GitHub NuGet

Audio and MIDI library for .NET.

NFluent

GitHub NuGet

NFluent is an ergonomic assertion library which aims to fluent your .NET TDD experience (based on simple Check.That() assertion statements).

NLog

GitHub NuGet

Advanced .NET and Silverlight Logging.

NPOI

GitHub CodePlex NuGet

.NET version of POI Java project, an open source project which can help you read/write xls, doc, ppt files.

NSubstitute

GitHub NuGet

A friendly substitute for .NET mocking frameworks.

OpaqueMail

GitHub NuGet

.NET e-mail library and proxy supporting IMAP, POP3, and SMTP with S/MIME.

Polly

GitHub NuGet

Polly is a .NET 3.5 / 4.0 / 4.5 / PCL library that allows developers to express transient exception handling policies such as Retry, Retry Forever, Wait and Retry or Circuit Breaker in a fluent manner.

Postal

GitHub NuGet

Email sending for asp.net mvc using the view engine system to render emails.

Quartz.NET

GitHub NuGet

A full-featured, open source job scheduling system that can be used from smallest apps to large scale enterprise systems.

Refit

GitHub NuGet

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

Regextra

GitHub NuGet

Regextra simplifies some tasks typically solved via regex so that you no longer have (problems){2}.

Restful Routing

GitHub NuGet

A rails inspired restful routing api for asp .net mvc.

RestSharp

GitHub NuGet

Simple REST and HTTP API Client for .NET.

Serilog

GitHub NuGet

Simple .NET logging with fully-structured events.

ServiceStack

GitHub NuGet

Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all.

SharpNetSH

GitHub NuGet

A simple netsh library for C#.

Shouldly

GitHub NuGet

Should testing for .net - the way Asserting *Should* be!

Simple.Data

GitHub NuGet

A light-weight, dynamic data access component for C# 4.0.

T4MVC

GitHub NuGet

T4MVC is a T4 template for ASP.NET MVC apps that creates strongly typed helpers that eliminate the use of literal strings in many places.

TinyMapper

GitHub NuGet

A quick object-object mapper for .NET.

SpecsFor

GitHub NuGet

SpecsFor is a light-weight Behavior-Driven Development framework that focuses on ease of use for *developers* by minimizing testing friction.

StructureMap

GitHub NuGet

A Dependency Injection/Inversion of Control tool for .NET.

Suave

GitHub NuGet

Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.

Topshelf

GitHub NuGet

An easy service hosting framework for building Windows services using .NET.

TuesPechkin

GitHub NuGet

A .NET wrapper for the wkhtmltopdf library with an object-oriented API.

Units.NET

GitHub NuGet

Makes life working with units of measurement just a little bit better.

Web Markup Minifier

GitHub NuGet

A .NET library that contains a set of markup minifiers. The objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.

Scientist.net

GitHub NuGet

A .NET Port of the Scientist library for carefully refactoring critical paths.

Serenity

GitHub NuGet

Serenity is a Typescript / .NET application platform which has been built on open source technologies.

SharpZipLib

GitHub NuGet

#ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform.

Sprache

GitHub NuGet

Sprache is a simple, lightweight library for constructing parsers directly in C# code.

StackExchange.Redis

GitHub NuGet

StackExchange.Redis is a high performance general purpose redis client for .NET languages.

Storage.Net

GitHub NuGet

Storage abstractions with implementations for .NET/.NET Standard.

SuperSocket

GitHub NuGet

SuperSocket is a light weight, cross platform and extensible socket server application framework.

Websocket-sharp

GitHub NuGet

A C# implementation of the WebSocket protocol client and server.

YamlDotNet

GitHub NuGet

YamlDotNet is a .NET library for YAML.