Click or drag to resize
IWebPathMapper Methods

The IWebPathMapper type exposes the following members.

Methods
  NameDescription
Public methodGetStaticFilesRootPath
Returns a path to the folder containing static files for the web application.
Public methodMapPath
Returns the full physical file path from the relativePath.

For the application residing in C:\\folder\\appFolder and "~/AppData" relativePath parameter, the result will be C:\\folder\\appFolder\\AppData.

Public methodTryMapPath
Converts the provided relative path to a corresponding full physical path. A return value indicates whether the conversion succeeded.

For the application residing in C:\\folder\\appFolder and "~/AppData" relativePath parameter, the result will be C:\\folder\\appFolder\\AppData.

Top
See Also