namespace: Serenity.Web assembly: Serenity.Net.Web
Converts a path to absolute
public static string ToAbsolute(HttpContext context, string contentPath)
parameter | description |
---|---|
context | HTTP context |
contentPath | Content path |
- class VirtualPathUtility
namespace: Serenity.Web assembly: Serenity.Net.Web
Converts a path to absolute
public static string ToAbsolute(IHttpContextAccessor accessor, string contentPath)
parameter | description |
---|---|
accessor | HTTP context accessor |
contentPath | Content path |
- class VirtualPathUtility
namespace: Serenity.Web assembly: Serenity.Net.Web
Converts a path to absolute
public static string ToAbsolute(PathString pathBase, string path)
parameter | description |
---|---|
pathBase | Path base |
path | Content path |
- class VirtualPathUtility