Method | Description | |
---|---|---|
GetAbsoluteUri ( System.Web.HttpRequestBase request, string relativePath ) : string |
Converts a relative URI to an absolute one (i.e. replaces ~ with domain name)
|
|
GetCurrentDomain ( System.Web.HttpRequestBase request ) : string |
Gets the current website's domain name.
|
public static GetAbsoluteUri ( System.Web.HttpRequestBase request, string relativePath ) : string | ||
request | System.Web.HttpRequestBase | An HTTP request object |
relativePath | string | The relative path to convert |
return | string |
public static GetCurrentDomain ( System.Web.HttpRequestBase request ) : string | ||
request | System.Web.HttpRequestBase | An HTTP request object (in controllers, this is just Request) |
return | string |