liveBook · Manning

WebApplicationBuilder

WebApplicationBuilder is an ASP.NET Core builder type that configures application services, hosting, logging, and related settings before constructing a WebApplication.

How 2 Manning books explain it

ASP.NET Core in Action, 3e

WebApplicationBuilder is the ASP.NET Core builder type that configures application services, logging, and other hosting concerns before constructing a web application.

How it is used
Configures services, logging, and other application setup in Program.cs before creating a WebApplication.
How deep it goes
Works through the create-configure-build sequence and service registration, while deferring detailed treatment of dependency injection, configuration, and logging.
Examples
Uses a minimal API with HTTP request logging and a JSON /person endpoint, then a Razor Pages setup.
What you can do after
Build it from scratch by configuring a builder, calling Build(), then adding middleware and endpoints before Run().

Read how ASP.NET Core in Action, 3e explains WebApplicationBuilder →

Pro ASP.NET Core 7, Tenth Edition

WebApplicationBuilder is the ASP.NET Core builder type that configures an application and its services before constructing the web application.

How it is used
Configures ASP.NET Core services and startup settings before constructing the WebApplication request pipeline.
How deep it goes
Explains platform setup, service registration, Build transition, configuration access, and environment selection without descending into framework internals.
Examples
Uses a minimal Hello World endpoint, conditional formatter services, configuration-driven setup, middleware, and environment-aware endpoints.
What you can do after
Build from scratch a configured ASP.NET Core application with registered services, environment-specific choices, middleware, and mapped endpoints.

Read how Pro ASP.NET Core 7, Tenth Edition explains WebApplicationBuilder →

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.