.NET Core Libraries (CoreFX)
The corefx repo contains the library implementation (called "CoreFX") for .NET Core. It includes System.Collections, System.IO, System.Xml and many other components. You can see more information in Documentation.
.NET Core is a modular implementation of .NET that can be used as the base stack for a wide variety of scenarios, today scaling from console utilities to web apps in the cloud. You can learn more about .NET Core and how and where you can use it in the .NET Core is open source and Introducing .NET Core blog posts. The .NET Core Roadmap describes where the team is headed.
The .NET Core Runtime repo contains the runtime implementation (called "CoreCLR") for .NET Core. It includes RyuJIT, the .NET GC, native interop and many other components.
Runtime-specific library code - namely mscorlib - lives in the CoreCLR repo. It needs to be built and versioned in tandem with the runtime. The rest of CoreFX is agnostic of runtime-implementation and can be run on any compatible .NET runtime. These characteristics were the primary motivation for the 2-repo structure.
How to Engage, Contribute and Provide Feedback
Some of the best ways to contribute are to try things out, file bugs, and join in design conversations.
Want to get more familiar with what's going on in the code?
You are also encouraged to start a discussion by filing an issue or creating a gist.
You can discuss .NET OSS more generally in the .NET Foundation forums.
Want to chat with other members of the CoreFX community?
.NET Core Library Components
The repo currently contains the source for the following components. More libraries are coming soon (the overall list of items we currently plan to move onto GitHub is here). 'Watch' the repo to be notified.
||Provides classes that define generic collections, which allow developers to create strongly-typed collections.|
||Provides a set of thread-safe collection types, instances of which may be used concurrently from multiple threads.|
||Provides a set of immutable collection types that are safe to use concurrently.|
||Provides classes that define various collections of objects, such as ArrayList and Hashtable. These collections exist in .NET Core primarily for backwards compatibility and generally should be avoided when writing new code.|
||Provides classes that define specialized collections of objects, for example, a linked list dictionary and collections that contain only strings. These collections exist in .NET Core primarily for backwards compatibility and generally should be avoided when writing new code.|
||Provides interfaces for the editing and change tracking of objects used as data sources.|
||Provides attributes that are used to define metadata for objects used as data sources.|
||Provides support classes and delegates for the event-based asynchronous pattern. This pattern and these supporting types exist in .NET Core primarily for backwards compatibility and generally should be avoided when writing new code.|
||Provides interfaces that are used to implement the run-time and design-time behavior of components.|
||Provides the System.ComponentModel.TypeConverter class, which represents a unified way of converting types of values to other types.|
||Provides the Console class, which enables access to the standard input, output, and error streams for console-based applications.|
||Provides the base abstract classes, including System.Data.DbConnection and System.Data.DbCommand, for data providers.|
||Provides types and methods for representing program contracts such as preconditions, postconditions, and invariants.|
||Provides a class to interact with the debugger as well as methods for performing runtime assertions.|
||Provides useful functionality for querying and examining the version information of physical files on disk.|
||Provides access to local and remote processes, and enables the starting and stopping of local system processes.|
||Provides trace listeners for directing tracing output to a text writer, such as System.IO.StreamWriter.|
||Provides attributes, such as GeneratedCodeAttribute, that are emitted or consumed by analysis tools.|
||Provides classes that help you trace the execution of your code.|
||Provides classes and interfaces that support the Dynamic Language Runtime (DLR).|
||Provides types that define culture-related information, including language, country/region, calendars, format patterns, and sort orders.|
||Provides classes for performing date calculations using specific calendars, including the Gregorian, Julian, Hijri and Korean calendars.|
||Provides classes for performing unicode string normalization, culture-specific string comparisons and support the use of non-ASCII characters for Internet domain names.|
||Provides base input and output (I/O) types that enable reading and writing data streams.|
||Provides classes that support the compression and decompression of streams.|
||Provides static methods for creating and using Zip files.|
||Provides access to the file system, including support for enumerating and manipulating file system objects and for reading and writing files via streams.|
||Provides the System.IO.DriveInfo class, which enables developers to query local drive information.|
||Provides common enumerations and exceptions for path-based I/O libraries.|
||Provides the System.IO.Watcher class, which listens to the system directory change notifications and raises events when a directory or file within a directory changes.|
||Provides access to memory-mapped files, enabling code to read and write files by reading and writing memory.|
||Provides classes that support storage of multiple data objects in a single container.|
||Provides types that enable a means for interprocess communication through anonymous and/or named pipes.|
||Provides a stream for accessing unmanaged memory as represented by a pointer, as well as an accessor for reading and writing primitive types from unmanaged memory.|
||Provides the foundation of Language-Integrated Query (LINQ), including LINQ standard query operators that operate on objects that implement
||Provides classes, interfaces, and enumerations that enable language-level code expressions to be represented as objects in the form of expression trees.|
||Provides a parallelized implementation of LINQ to Objects. "Parallel LINQ" (PLINQ) implements the full set of LINQ standard query operators as well as additional operators specific to parallel operations.|
||Provides LINQ standard query operators that operate on objects that implement
||Provides a programming interface for modern HTTP applications, including HTTP client components that allow applications to consume web services over HTTP and HTTP components that can be used by both clients and servers for parsing HTTP headers.|
||Provides a message handler for HttpClient based on the WinHTTP interface of Windows. While similar to HttpClientHandler, it provides developers more granular control over the application's HTTP communication than the HttpClientHandler.|
||Provides the System.Net.Dns class, which enables developers to perform simple domain name resolution.|
||Provides access to network traffic data, network address information, and notification of address changes for the local computer.|
||Provides common types for network-based libraries, including System.Net.IPAddress, System.Net.IPEndPoint, and System.Net.CookieContainer.|
||Provides older classes (such as HttpWebRequest and HttpWebResponse) for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. This library is available primarily for compatibility; developers should prefer the classes in the System.Net.Http package.|
||Provides types, such as System.Net.Security.SslStream, that uses SSL/TLS protocols to provide secure network communication between client and server endpoints.|
||Provides classes such as Socket, TcpClient and UdpClient, which enable developers to send and receive data over the network.|
||Contains types that represent HTTP request and response headers. This library is used with classes such as System.Net.HttpWebRequest and System.Net.HttpWebResponse and allows developers to query/edit header names/values.|
||Provides the System.Net.WebSockets.WebSocket abstract class and related types to allow developers to implement the WebSocket protocol (RFC 6455). WebSockets provide full-duplex communication over a single TCP connection.|
||Provides the System.Net.WebSockets.ClientWebSocket class, which implements the client role of the WebSockets protocol (RFC 6455).|
||Provides a set of basic vector types that leverage single instruction, multiple data (SIMD) CPU instructions.|
||Provides extension methods for converting between types in System.Numerics.Vectors and types in the Windows Runtime (WinRT).|
||Provides types and interfaces that enable the creation of observable types that provide notifications to clients when changes are made.|
||Provides types that retrieve information about assemblies, modules, members, parameters, and other entities in managed code by examining their metadata.|
||Provides a mechanism for dynamically creating proxy types that implement a specified interface and derive from a specified DispatchProxy type.|
||Provides types that allow a compiler or other tool to emit metadata and generate PE files on disk.|
||Provides types that allow a compiler or other tool to emit Microsoft intermediate language (MSIL).|
||Provides the System.Reflection.Emit.DynamicMethod class, which represents a dynamic method that can be compiled, executed, and discarded.|
||Provides custom attribute extension methods for System.Reflection types.|
||Provides a highly-tuned, low-level ECMA-335 metadata reader. This is the same reader used by "Roslyn" C# and Visual Basic compilers to parse assemblies.|
||Provides extension methods for types in the System.Reflection namespace. These extensions are designed to be source-compatible with older reflection-based APIs.|
||Provides classes for reading and writing resources in the system-default format.|
||Provides the fundamental primitives, classes, and base classes that define commonly-used value and reference data types, events and event handlers, interfaces, attributes, and exceptions.|
||Provides commonly-used classes for performing mathematical functions, conversions, string comparisons, and querying environment information.|
||Provides base classes, including CriticalHandle and SafeHandle, for types that represent operating system handles.|
||Provides types that support platform invoke (P/Invoke) and COM interop.|
||Provides types that expose information about the runtime and operating system environment in which code is executing.|
||Provides two useful numeric structures, BigInteger and Complex.|
||Provides common types, including System.Runtime.Serialization.DataContractAttribute, for libraries that support data contract serialization.|
||Provides classes for serializing objects to the Extensible Markup Language (XML) and deserializing XML data to objects.|
||Provides the System.Security.Cryptography.Rfc2898DeriveBytes class, which implements password-based key derivation functionality per RFC 2898.|
||Provides types for representing Abstract Syntax Notation One (ASN.1)-encoded data.|
||Provides base types for symmetric and asymmetric cryptographic algorithms.|
||Provides types which perform symmetric encryption and decryption using the Advanced Encryption Standard (AES) algorithm.|
||Provides base types for cryptographic hashing and hash-based message authentication code (HMAC).|
||Provides concrete implementations of cryptographic hashing and hash-based message authentication code (HMAC), including MD5, SHA-1, and SHA-2.|
||Provides the System.Security.Cryptography.RandomNumberGenerator class, which generates cryptographically secure random numbers.|
||Provides types which perform asymmetric encryption and decryption using the RSA algorithm.|
||Provides types for reading, exporting and verifying Authenticode X.509 v3 certificates.|
||Provides the base interfaces for principal and identity objects that represent the security context under which code is running.|
||Provides classes for retrieving the current Windows user and for interacting with Windows users and groups.|
||Provides the ServiceController class that represents a Windows service and allows you to connect to a running or stopped service, manipulate it, or get information about it.|
||Provides base abstract encoding classes for converting blocks of characters to and from blocks of bytes.|
||Provides the ability to access existing encoding types for string manipulation across common cultural standards, as well as support to create custom Encoding Providers.|
||Provides support for specific encodings, including ASCII, UTF-7, UTF-8, UTF-16, and UTF-32.|
||Provides a regular expression engine. The types in this library provide useful functionality for running common operations using regular expressions.|
||Provides synchronization primitives used when writing multi-threaded and asynchronous code.|
||Provides common types for interacting with asynchronous (or overlapped) input and output (I/O) on Windows.|
||Provides types that simplify the work of writing concurrent and asynchronous code.|
||Provides a set of types that support actor/agent-oriented designs through primitives for in-process message passing, dataflow, and pipelining.|
||Provides library-based data parallel replacements for common operations such as for loops, for each loops, and execution of a set of statements.|
||Provides types for reading and writing streams of XML.|
||Provides XML-related types for querying XML documents using LINQ.|
||Provides types for manipulating an XML Document Object Model (DOM).|
||Provides classes for serializing objects to XML and for deserializing XML data to objects.|
||Provides classes that define a cursor model for navigating and editing XML information items as instances of the XQuery 1.0 and XPath 2.0 Data Model.|
||Provides extension methods that add System.Xml.XPath support to the System.Xml.XDocument package.|
||Provides extension methods that add System.Xml.XPath support to the System.Xml.XmlDocument package.|
||Provides support for compilation and code generation, including dynamic, using the C# language.|
||Provides types that support the Visual Basic runtime.|
||Provides common types supporting the implementation of Win32-based libraries.|
||Provides support for accessing and modifying the Windows Registry.|
.NET Core (including the corefx repo) is licensed under the MIT license.
.NET Core is a .NET Foundation project.
There are many .NET related projects on GitHub.
- The .NET home repo links to 100s of .NET projects, from Microsoft and the community.
- The .NET Core repo links to .NET Core related projects from Microsoft.
- The ASP.NET home repo is the best place to start learning about ASP.NET 5.
- dotnet.github.io is a good place to discover .NET Foundation projects.