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 and hosting concerns before constructing an ASP.NET Core web application.
How deep it goes
Explains the startup sequence and service registration with examples, while deferring detailed configuration, logging, and dependency injection treatment.
Examples
Uses minimal API examples with HTTP logging and a JSON endpoint, plus a Razor Pages startup example.
What you can do after
Apply it via ASP.NET Core to register services, configure logging, and build an application ready for middleware and endpoints.

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 →

Also covered in

Related concepts

Questions about WebApplicationBuilder

What is WebApplicationBuilder?

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

Which Manning books explain WebApplicationBuilder?

ASP.NET Core in Action, 3e and Pro ASP.NET Core 7, Tenth Edition.

What are the parts of WebApplicationBuilder?

WebApplicationBuilder includes services property and hosting environment.

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.