WebHostBuilderContext WebHostBuilderContext WebHostBuilderContext 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
WebHostBuilderContextWebHostBuilderContextWebHostBuilderContextWebHostBuilderContext

Constructors

WebHostBuilderContext() WebHostBuilderContext() WebHostBuilderContext() WebHostBuilderContext()

Properties

Configuration Configuration Configuration Configuration

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

HostingEnvironment HostingEnvironment HostingEnvironment HostingEnvironment

The IWebHostEnvironment initialized by the IWebHost.

Applies to