Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface IWebHostingEnvironment

Path information for files served via the wwwroot

Namespace: EPiServer.Web
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public interface IWebHostingEnvironment

Properties

WebRootPath

The physical path to the folder serving web content (ie "c:\inetpub\wwwroot")

Declaration
string WebRootPath { get; }
Property Value
Type Description
System.String

WebRootVirtualPath

The virtual path to the folder serving web content (ie "/")

Declaration
string WebRootVirtualPath { get; }
Property Value
Type Description
System.String

Extension Methods