ASP.NET Core
The .NET framework for building web applications and web APIs, including the server, routing, middleware, security and configuration.
In more detail
Every request an ASP.NET Core app receives travels through an ordered middleware pipeline to an endpoint, written either as a controller or as a minimal API. The framework also supplies dependency injection, configuration, logging, authentication and health checks. The name ASP comes from Microsoft's older Active Server Pages technology.
Related terms
- middleware — Code that sits between an incoming request and the handler that answers it, doing a shared job such as logging, authentication or rate limiting.
- Kestrel — The cross-platform web server built into ASP.NET Core that listens for HTTP requests and hands them to your application.
- minimal API — An ASP.NET Core style that declares each route and its handler together, as in app.MapGet("/api/ping", () => Results.Ok("catalog")).
- controller — In ASP.NET Core, a class deriving from ControllerBase that groups related HTTP endpoints as methods called actions.
- ASP.NET Core runtime — The .NET runtime bundled with the web stack (the Kestrel server, routing and middleware) that a web application needs in order to run.
Taught in
- What is .NET? Runtime vs SDK, and LTS vs STS — Modern .NET Core, C# & Enterprise Microservices
- Classes, Interfaces, and Object-Oriented C# — Modern .NET Core, C# & Enterprise Microservices
- Async and Await: Managing Concurrency — Modern .NET Core, C# & Enterprise Microservices
- The Dependency Injection Container: Scopes and Lifetimes — Modern .NET Core, C# & Enterprise Microservices
- The ASP.NET Core Middleware Pipeline — Modern .NET Core, C# & Enterprise Microservices
- Building Routes with Minimal APIs — Modern .NET Core, C# & Enterprise Microservices
- Comparing Controllers and Minimal APIs — Modern .NET Core, C# & Enterprise Microservices
- OpenAPI Generation in .NET 9 — Modern .NET Core, C# & Enterprise Microservices
- Integration Testing with WebApplicationFactory — Modern .NET Core, C# & Enterprise Microservices
- OpenTelemetry, Container Publishing and Trimming — Modern .NET Core, C# & Enterprise Microservices