Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Host Class
Definition
- Namespace:
- Microsoft.Extensions.Hosting
- Assembly:
- Microsoft.Extensions.Hosting.dll
- Package:
- Microsoft.Extensions.Hosting v11.0.0-preview.5.26302.115
- Source:
- Host.cs
- Source:
- Host.cs
- Source:
- Host.cs
- Source:
- Host.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides convenience methods for creating instances of IHostBuilder with pre-configured defaults.
public ref class Host abstract sealed
public static class Host
type Host = class
Public Class Host
- Inheritance
-
Host
Methods
| Name | Description |
|---|---|
| CreateApplicationBuilder() |
Initializes a new instance of the HostApplicationBuilder class with pre-configured defaults. |
| CreateApplicationBuilder(HostApplicationBuilderSettings) |
Initializes a new instance of the HostApplicationBuilder class with preconfigured defaults. |
| CreateApplicationBuilder(String[]) |
Initializes a new instance of the HostApplicationBuilder class with pre-configured defaults. |
| CreateDefaultBuilder() |
Initializes a new instance of the HostBuilder class with pre-configured defaults. |
| CreateDefaultBuilder(String[]) |
Initializes a new instance of the HostBuilder class with pre-configured defaults. |
| CreateEmptyApplicationBuilder(HostApplicationBuilderSettings) |
Initializes a new instance of the HostApplicationBuilder class with no pre-configured defaults. |
Applies to
Feedback
Was this page helpful?
