KestrunHost.Build method

Builds the WebApplication. This method applies all queued services and middleware stages, and returns the built WebApplication instance.

public WebApplication Build()

Return Value

The built WebApplication.

Exceptions

exception condition
InvalidOperationException  

See Also