ASP.NET Core API Reference

Daniel Roth
Daniel Roth
1 min to read Contributors
  • brady gaster
  • TianqiZhang

Namespaces in the ASP.NET Core Class Library

The following is a list of top level namespaces in the ASP.NET Core class library. Each namespace contains a set of functionally-related types.

Namespace Description
Microsoft.AspNetCore.Antiforgery Support for anti-request forgery.
Microsoft.AspNetCore.Authentication Support for authentication using a variety of mechanisms including using cookie authentication, external providers (ex. Microsoft Account, Facebook, Google, Twitter), OpenID Connect, and JWT bearer tokens.
Microsoft.AspNetCore.Authorization Support for authorization.
Microsoft.AspNetCore.Builder Types for defining and building an ASP.NET Core application.
Microsoft.AspNetCore.CookiePolicy
Microsoft.AspNetCore.Cors Support for defining and enforcing CORS policies.
Microsoft.AspNetCore.Cryptography.KeyDerivation
Microsoft.AspNetCore.DataProtection Support for cryptographically protecting data including key management and rotation.
Microsoft.AspNetCore.Diagnostics Types that aid in the diagnosis of errors at runtime and during development.
Microsoft.AspNetCore.Hosting Support for ASP.NET Core hosting.
Microsoft.AspNetCore.Html Abstractions for working with HTML.
Microsoft.AspNetCore.Http Abstractions for working with HTTP.
Microsoft.AspNetCore.Identity Support for establishing and managing user identities.
Microsoft.AspNetCore.JsonPatch Support for JSON Patch.
Microsoft.AspNetCore.Localization Support for localization.
Microsoft.AspNetCore.MiddlewareAnalysis Support for analysis of middleware execution.
Microsoft.AspNetCore.Mvc Support for building web apps that follow the model-view-controller pattern.
Microsoft.AspNetCore.Owin Types for compatibility with the Open Web Interface for .NET (OWIN).
Microsoft.AspNetCore.Razor The Razor templating engine.
Microsoft.AspNetCore.Routing Support for request routing.
Microsoft.AspNetCore.Session
Microsoft.AspNetCore.StaticFiles Support for session state.
Microsoft.AspNetCore.TestHost Test host for ASP.NET Core.
Microsoft.AspNetCore.WebSockets Support for WebSockets
Microsoft.AspNetCore.WebUtilities
Microsoft.Extensions.Caching.Distributed
Microsoft.Extensions.Caching.Memory
Microsoft.Extensions.Caching.Redis
Microsoft.Extensions.Caching.SqlServer
Support for in-memory and distributed caching.
Microsoft.Extensions.Cli.Utils
Microsoft.Extensions.CommandLineUtils
Microsoft.Extensions.Configuration Support for reading configuration data from a variety of sources (ex JSON, XML, environment variables)
Microsoft.Extensions.DependencyInjection Support for dependency injection.
Microsoft.Extensions.DiagnosticAdapter
Microsoft.Extensions.FileProviders Support for interacting with the file system in a platform agnostic way.
Microsoft.Extensions.FileSystemGlobbing Support for file system globbing patterns.
Microsoft.Extensions.Globalization Support for globalization.
Microsoft.Extensions.Localization Support for localization.
Microsoft.Extensions.Logging Support for logging.
Microsoft.Extensions.ObjectPool Object pool implementation.
Microsoft.Extensions.PlatformAbstractions
Microsoft.Extensions.Primitives
Microsoft.Extensions.WebEncoders Support for web encoding.

Improving the Documentation

If you find an issue or an inconsistency, we would love to hear about it! Go to the ASP.NET Core docs repo on Github, and open an issue to let us know.