메소드 | 설명 | |
---|---|---|
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 |
리턴 | string |
public static GetCurrentDomain ( System.Web.HttpRequestBase request ) : string | ||
request | System.Web.HttpRequestBase | An HTTP request object (in controllers, this is just Request) |
리턴 | string |