This article lists libraries and application frameworks that can be used by languages targeting the Common Language Infrastructure (CLI). The standard libraries supplied with the runtime, including the Base Class Library, are not included.
Introduction A .NET implementation combines a runtime with a class library and may also include application frameworks and development tools. The principal implementations are modern cross-platform .NET, the Windows-only .NET Framework, and Mono. Compilers for CLI languages normally produce Common Intermediate Language (CIL) code and metadata stored in assemblies. A runtime loads the assemblies, provides services such as memory management and exception handling, and translates the intermediate code into native instructions. Most .NET applications use just-in-time compilation, while supported workloads can instead use ahead-of-time compilation. Libraries can be shared across CLI languages because the runtime defines a common type system and calling conventions. Portability still depends on the APIs and native components used by a library: code that relies on Windows-specific interfaces, for example, is not automatically cross-platform.
.NET implementations Microsoft documents three main implementations:
.NET (formerly .NET Core) is the primary, actively developed implementation. It is open source and supports multiple operating systems and workloads. .NET Framework is the original Windows implementation. It remains supported in maintenance, but Microsoft recommends modern .NET for new development. Mono is a cross-platform implementation oriented toward smaller-footprint environments; it has also been used by Unity. Each implementation of .NET includes the following components:
One or more runtime environments, e.g. Common Language Runtime (CLR) for .NET Framework and CoreCLR for .NET A class library The .NET Standard is a set of common APIs that are implemented in the Base Class Library of any .NET implementation. The class library of each implementation must implement the .NET Standard, but may also implement additional APIs. Traditionally, .NET apps targeted a certain version of a .NET implementation, e.g. .NET Framework 4.6. Starting with the .NET Standard, an app can target a version of the .NET Standard and then it could be used (without recompiling) by any implementation that supports that level of the standard. This enables portability across different .NET implementations. The following table lists the .NET implementations that adhere to the .NET Standard and the version number at which each implementation became compliant with a given version of .NET Standard. For example, according to this table, .NET Core 3.0 was the first version of .NET Core that adhered to .NET Standard 2.1. This means that any version of .NET Core bigger than 3.0 (e.g. .NET Core 3.1) also adheres to .NET Standard 2.1.
Web frameworks
ASP.NET First released in 2002, ASP.NET is an open-source server-side web application framework designed for web development to produce dynamic web pages. It is the successor to Microsoft's Active Server Pages (ASP) technology, built on the Common Language Runtime (CLR).
ASP.NET Core ASP.NET was completely rewritten in 2016 as a modular web framework, together with other frameworks like Entity Framework. The re-written framework uses the new open-source .NET Compiler Platform (also known by its codename "Roslyn") and is cross platform. The programming models ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages (a model using only Razor pages) were merged into a unified MVC 6.
Blazor Blazor is a free and open-source web framework that enables developers to create Single-page Web apps using C# and HTML in ASP.NET Razor pages ("components"). Blazor is part of the ASP.NET Core framework. Blazor Server apps are hosted on a web server, while Blazor WebAssembly apps are downloaded to the client's web browser before running. In addition, a Blazor Hybrid framework is available with server-based and client-based application components.
Numerical libraries
Open-source numerical libraries
AForge.NET This is a computer vision and artificial intelligence library. It implements a number of genetic, fuzzy logic and machine learning algorithms with several architectures of artificial neural networks with corresponding training algorithms.
ALGLIB This is a cross-platform open source numerical analysis and data processing library. It consists of algorithm collections written in different programming languages (C++, C#, FreePascal, Delphi, VBA) and has dual licensing – commercial and GPL.
ILNumerics.ONAL ILNumerics.ONAL is the open-sourced, MIT-licensed numerical core of the ILNumerics development platform, offering a fully managed ONAL (Open Numerical Algorithm Language) implementation—including an official LAPACK translation—with NumPy/MATLAB-style multidimensional arrays, broadcasting, advanced indexing, complex numbers, linear algebra, and FFT support, plus upgrade paths to proprietary auto-parallelizing Accelerator compilers for additional performance. Integrates into Visual Studio and .NET on Windows, Linux and MacOS.
Math.NET Numerics This library aims to provide methods and algorithms for numerical computations in science, engineering and everyday use. Covered topics include special functions, linear algebra, probability models, random numbers, interpolation, integral transforms and more. MIT/X11 license.
Meta.Numerics This is a library for advanced scientific computation in the .NET Framework.
ML.NET This is a free software machine learning library. The preview release of ML.NET included transforms for feature engineering like n-gram creation, and learners to handle binary classification, multi-class classification, and regression tasks. Additional ML tasks like anomaly detection and recommendation systems have since been added, and other approaches like deep learning will be included in future versions.
Proprietary numerical libraries
… excerpt ends here. Continue reading the full article.