Click or drag to resize
WebPathMapperBase Methods

The WebPathMapperBase type exposes the following members.

Methods
  NameDescription
Protected methodGetRootPath
Gets the application root path.
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.

Protected methodMapPathInternal
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