Share via


WebApplicationBuilder.Environment Property

Definition

Provides information about the web hosting environment an application is running.

public Microsoft.AspNetCore.Hosting.IWebHostEnvironment Environment { get; }
member this.Environment : Microsoft.AspNetCore.Hosting.IWebHostEnvironment
Public ReadOnly Property Environment As IWebHostEnvironment

Property Value

Applies to