London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Interface IVirtualPathResolver

Resolves virtual path with respect to virtual application.

Namespace: EPiServer.Web
Assembly: EPiServer.Framework.dll
Version: 11.20.7
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