ASP.NET Core APIs
Explore the comprehensive set of APIs that power ASP.NET Core, the modern, cross-platform, open-source framework for building high-performance applications. This section provides detailed documentation for all core components, libraries, and services.
Key API Categories
- MVC (Model-View-Controller) For building web applications with a strong separation of concerns.
- Razor Pages A page-focused programming model for building web UI with ASP.NET Core.
- Blazor Enables interactive client-side web UI with .NET.
- Routing Map incoming requests to specific endpoints.
- Middleware Pipeline Configure the request processing pipeline.
- Dependency Injection Built-in support for managing dependencies.
- Authentication & Authorization Secure your applications.
- Data Access Interacting with databases using Entity Framework Core and other methods.
- Configuration Managing application settings from various sources.
- Logging Implementing robust logging for your applications.
Getting Started with API Documentation
Each API category provides detailed reference documentation, including:
- Class and method overviews
- Parameter and return value descriptions
- Code examples in C#
- Related concepts and best practices
For instance, you can learn about the fundamental classes in ASP.NET Core's request pipeline, such as:
Microsoft.AspNetCore.Http.HttpContext
: Represents the HTTP context for a request.Microsoft.AspNetCore.Http.HttpRequest
: Provides information about the incoming HTTP request.Microsoft.AspNetCore.Http.HttpResponse
: Provides methods for constructing an HTTP response.Microsoft.AspNetCore.Builder.IApplicationBuilder
: Used to construct a request pipeline.
Discover how to use these APIs to build robust, scalable, and high-performance web applications with ASP.NET Core. For more advanced topics and architectural patterns, please refer to the Architectural Patterns section.