IWebHostEnvironment Interface  
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 in.
public interface class IWebHostEnvironment : Microsoft::Extensions::Hosting::IHostEnvironmentpublic interface IWebHostEnvironment : Microsoft.Extensions.Hosting.IHostEnvironmenttype IWebHostEnvironment = interface
    interface IHostEnvironmentPublic Interface IWebHostEnvironment
Implements IHostEnvironment- Implements
Properties
| WebRootFileProvider | Gets or sets an IFileProvider pointing at WebRootPath. This defaults to referencing files from the 'wwwroot' subfolder. | 
| WebRootPath | Gets or sets the absolute path to the directory that contains the web-servable application content files. This defaults to the 'wwwroot' subfolder. |