WebApplication
WebApplication is an ASP.NET Core application type that hosts configured services, runs the web server, and exposes the HTTP request-processing pipeline.
ASP.NET Core in Action, 3e
WebApplication is the ASP.NET Core type that represents a configured web application and exposes its request-processing pipeline and endpoint-registration capabilities.
- How it is used
- Configures the request pipeline and endpoints, then starts the ASP.NET Core server.
- How deep it goes
- Works through creation, middleware ordering, endpoint mapping, environment checks, and running; leaves detailed treatment of hosting environments for later.
- Examples
- Uses Hello World and JSON-returning minimal API endpoints, a welcome-page pipeline, and a Razor Pages startup configuration.
- What you can do after
- Build it from scratch: configure a small ASP.NET Core application, map endpoints, add middleware in order, and run it.
Read how ASP.NET Core in Action, 3e explains WebApplication →
Pro ASP.NET Core 7, Tenth Edition
WebApplication is the ASP.NET Core application type that configures request processing and runs the web server.
- How it is used
- Configures ASP.NET Core services, middleware, endpoints, and server execution from Program.cs.
- How deep it goes
- Explains the builder-to-run lifecycle, endpoint mapping, middleware, configuration, and environment access without descending into server internals.
- Examples
- Uses a Hello World endpoint, environment-specific service registration, middleware, configuration access, and an observable HTTP response.
- What you can do after
- Build and operate a minimal ASP.NET Core request pipeline with mapped endpoints, middleware, configuration, and environment-specific services.
Read how Pro ASP.NET Core 7, Tenth Edition explains WebApplication →
Related concepts
- WebApplicationBuilderproduced by · WebApplicationBuilder is an ASP.NET Core builder type that configures application services, hosting, logging, and related settings before constructing a WebApplication.
- IEndpointRouteBuilderimplements · IEndpointRouteBuilder is an ASP.NET Core interface for registering route endpoints during application request-processing configuration.
- middlewareproduces · Middleware is an intermediate software component or layer that processes or mediates requests, messages, or operations between other components, often adding behavior or controlling their flow.
- application propertiesuses · Application properties are named configuration settings that provide values used to configure an application's behavior.
- DeveloperExceptionPageMiddlewareconfigures · DeveloperExceptionPageMiddleware is ASP.NET Core middleware that catches unhandled pipeline exceptions and generates a detailed diagnostic error page for developers.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

