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 IVirtualPathResolver

Resolves virtual path with respect to virtual application.

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

Methods

ToAbsolute(String)

Converts a virtual path to an application absolute path.

Declaration
string ToAbsolute(string virtualPath)
Parameters
Type Name Description
System.String virtualPath

The virtual path to convert to an application-relative path

Returns
Type Description
System.String

The absolute path representation of the specified virtual path.

ToAppRelative(String)

Converts a virtual path to an application-relative path.

Declaration
string ToAppRelative(string virtualPath)
Parameters
Type Name Description
System.String virtualPath

The virtual path to convert to an application-relative path.

Returns
Type Description
System.String

The application-relative path representation of virtualPath.

Extension Methods