Dela via


WebHostBuilderContext Class

Definition

Context containing the common services on the IWebHost. Some properties may be null until set by the IWebHost.

public ref class WebHostBuilderContext
public class WebHostBuilderContext
type WebHostBuilderContext = class
Public Class WebHostBuilderContext
Inheritance
WebHostBuilderContext

Constructors

WebHostBuilderContext()

Properties

Configuration

The IConfiguration containing the merged configuration of the application and the IWebHost.

HostingEnvironment

The IWebHostEnvironment initialized by the IWebHost.

Applies to