WebHostBuilderContext WebHostBuilderContext WebHostBuilderContext Class

Definition

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

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

Constructors

WebHostBuilderContext() WebHostBuilderContext() WebHostBuilderContext()

Properties

Configuration Configuration Configuration

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

HostingEnvironment HostingEnvironment HostingEnvironment

The IHostingEnvironment initialized by the IWebHost.

Applies to