This method returns a fully qualified absolute server Url which includes
the protocol, server, port in addition to the server relative Url.
It work like Page.ResolveUrl, but adds these to the beginning.
This method is useful for generating Urls for AJAX methods
Namespace: MonoSoftware.WebAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static string ResolveServerUrl(
string serverUrl
) |
Visual Basic |
---|
Public Shared Function ResolveServerUrl (
serverUrl As String
) As String |
Visual C++ |
---|
public:
static String^ ResolveServerUrl(
String^ serverUrl
) |
F# |
---|
static member ResolveServerUrl :
serverUrl : string -> string
|
Return Value
Type:
StringSee Also