Host Environment Interface
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 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
Gets or sets an IFileProvider pointing at WebRootPath.
Gets or sets the absolute path to the directory that contains the web-servable application content files.