API

WebApplication.CreateBuilder

Creates the web application builder with hosting defaults.

Formal Syntax & Structure

csharp syntaxcsharp
WebApplication.CreateBuilder(args)

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.WebApplication.CreateBuilder(args)
C# & .NET Reference