API
IHost.StartAsync
Starts the host with cancellation support.
Formal Syntax & Structure
csharp syntaxcsharp
await app.StartAsync(token)Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.await app.StartAsync(token)