Share via


IDistributedApplicationBuilder.Environment Property

Definition

Gets information about the hosting environment an application is running in.

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

Property Value

Applies to