WebApplicationBuilder.Environment Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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