Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​Hosting.​HostDefaults

Assembly: Microsoft.Extensions.Hosting.Abstractions

Inheritance: object → HostDefaults

Constants for HostBuilder configuration keys.

Fields and Constants

public static readonly string
ApplicationKey
The configuration key used to set <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName" /> .
public static readonly string
ContentRootKey
The configuration key used to set <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath" /> and <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootFileProvider" /> .
public static readonly string
EnvironmentKey
The configuration key used to set <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName" /> .

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object