liveBook · Manning

WebApplication

WebApplication is an ASP.NET Core application type that hosts configured services, runs the web server, and exposes the HTTP request-processing pipeline.

How 2 Manning books explain it

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

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.