The .NET Framework is a software framework for Microsoft Windows operating systems. It includes an implementation of the Base Class Library, Common Language Runtime, and Dynamic Language Runtime. It supports many programming languages, including C#, VB.NET, F# and C++.
The .NET Framework is not specific to any one programming language. The C#, VB.NET, C++/CLI, and F# programming languages from Microsoft, as well as many other languages from other vendors, all use the same .NET Framework.
The .NET Framework includes a large library of functions as part of the Base Class Library (BCL), including those related to user interface design, data access, database connectivity, cryptography, development of web applications, mathematical algorithms, and network communications. This extensive library simplifies development and makes it easy to rapidly develop new applications.
As such, questions like "How do I do file I/O in C#?" should really be "How do I do file I/O with .NET?". Because such a question concerns the file I/O libraries provided by the .NET Framework, it should be tagged with both the .net tag, and with the c# tag, to indicate that you'd like the answer to be written in the C# programming language.
See also: Mono.
Useful .NET Libraries
Mathematics
- Math.NET Numerics - special functions, linear algebra, probability models, random numbers, interpolation, integral transforms and more
Package managers for external libraries
- NuGet (formerly known as NuPack) - Microsoft (developer-focused package management system for the .NET platform intent on simplifying the process of incorporating third party libraries into a .NET application during development)
- OpenWrap - Sebastien Lambla - Open Source Dependency Manager for .net applications
Build Tools
- Prebuild - Generate project files for all VS version, including major IDE's and tools like SharpDevelop, MonoDevelop, NAnt and Autotools
Dependency Injection/Inversion of Control
- Unity Framework - Microsoft
- StructureMap - Jeremy Miller
- Castle Windsor
- NInject
- Spring Framework
- Autofac
- Simple Injector
- Managed Extensibility Framework
- TinyIoC
Logging
- Logging Application Block - Microsoft
- Log4Net - Apache
- Error Logging Modules and Handlers(ELMAH)
- NLog
- CuttingEdge.Logging
- Logging Abstraction Api "Common.Logging"
Validation
- Validation Application Block - Microsoft
- xVal
- Fluent Validation
Design by Contract
Compression
- SharpZipLib
- DotNetZip
- YUI Compressor (CSS and JS minification)
- AjaxMinifier (in other downloads) (CSS and JS minification. Also includes MSBuild task)
- SevenZipSharp to pack, unpack a lot of different packages (including RAR, 7ZIP, etc).
- ZipStorer A Pure C# Class to Store Files in Zip
Ajax
- Ajax Control Toolkit - Microsoft
- AJAXNet Pro
- ASP.NET MVC Project Awesome - ajax helpers for asp.net mvc
Data Mapper
- XmlDataMapper
- AutoMapper
- Dapper
- Massive
- Data accessors from the Data Access Application Block
- ValueInjecter
ORM
- Entity Framework - Microsoft
- NHibernate and FluentNHibernate
- Castle ActiveRecord
- Subsonic
- XmlDataMapper
- Truss Data binding and real time property sync library
Charting/Graphics
- Microsoft Chart Controls for ASP.NET 3.5 SP1
- Microsoft Chart Controls for Winforms
- ZedGraph Charting
- NPlot - Charting for ASP.NET and WinForms
- ImageResizer - Url-driven image processing for both ASP.NET and .NET
PDF Creators/Generators
Unit Testing/Mocking
Automated Web Testing
Misc Testing/Quality Support/Behavior Driven Development (BDD)
URL Rewriting
- url rewriter
- UrlRewriting.Net
- Url Rewriter and Reverse Proxy - Managed Fusion/Nick Berardi
Web Debugging
- Glimpse - Firebug for your webserver
Controls
- Krypton - Free winform controls
- Source Grid - A Grid control
MS Word/Excel Documents Manipulation
- DocX to create, read, manipulate formatted word documents. Easy syntax, working nicely, actively developed. No Microsoft Office necessary.
- Excel XML Writer allows creation of .XLS (Excel) files. No Microsoft Office necessary. Been a while since it has been updated. It also provides code generator to create code from already created XLS file (saved as xml). Haven't tested this but looks very promising. Too bad author is long time gone.
- Excel Reader allows creation/reading of .XLS (Excel) files. No Microsoft Office necessary. Been a while since it has been updated.
- Excel Package allows creation/reading of .XLSX (Excel 2007) files. No Microsoft Office necessary. Author is gone so it's out of date.
- EPPlus is based on Excel Package and allows creation/reading of .XLSX (Excel 2007). It is actually the most advanced even comparing to NPOI.
- NPOI is the .NET version of POI Java project at http://poi.apache.org/. POI is an open source project which can help you read/write xls, doc, ppt files.
Social Media
- LinqToTwitter - Linq-based wrapper for all Twitter API functionality in C#
- Facebook C# SDK - A toolkit for creating facebook applications / integrating websites with Facebook using the new Graph API or the old rest API.
Serialisation
- sharpserializer - xml/binary serializer for wpf, asp.net and silverlight
- protobuf-net - .NET implementation of google's cross-platform binary serializer (for all .NET platforms)
Machine learning
- Encog C# - Neural networks
- AForge.net - AI, computer vision, genetic algorithms, machine learning
Unclassified
- CSLA Framework - Business Objects Framework
- Prism - Composite UI application block for WPF, Silverlight and WP7 - Microsoft patterns & practices
- Enterprise Library 5.0 - Logging, Exception Management, Caching, Cryptography, Data Access, Validation, Security, Policy Injection - Microsoft patterns & practices
- File helpers library
- C5 Collections - Collections for .NET
- Quartz.NET - Enterprise Job Scheduler for .NET Platform
- MiscUtil - Utilities by Jon Skeet
- Noda Time - DateTime replacement (idomatic port of Joda Time from Java)
- Lucene.net - Text indexing and searching
- Json.NET - Linq over JSON
- Flee - expression evaluator
- PostSharp - AOP
- IKVM - brings the extensive world of Java libraries to .NET.
- C# Webserver - Embeddable webserver
- Long Path - Microsoft
- .NET Engines for the GOLD Parsing System
- Smart Thread Pool - Thread Pool management library
- NCQRS - library for event-driven architectures (CQRS).
- NBug - Automated exception, error reporting tool (can generate minidumps)
- Splicer.Net - library for the .Net framework that aims to simplify developing applications for editing and encoding audio and video using DirectShow.