IWebHostEnvironment IWebHostEnvironment IWebHostEnvironment IWebHostEnvironment Interface

Definition

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

public interface class IWebHostEnvironment : Microsoft::Extensions::Hosting::IHostEnvironment
public interface IWebHostEnvironment : Microsoft.Extensions.Hosting.IHostEnvironment
type IWebHostEnvironment = interface
    interface IHostEnvironment
Public Interface IWebHostEnvironment
Implements IHostEnvironment
Implements

Properties

WebRootFileProvider WebRootFileProvider WebRootFileProvider WebRootFileProvider

Gets or sets an Microsoft.Extensions.FileProviders.IFileProvider pointing at WebRootPath.

WebRootPath WebRootPath WebRootPath WebRootPath

Gets or sets the absolute path to the directory that contains the web-servable application content files.

Applies to