WebUtils.ResolveServerUrl

This method returns a fully qualified absolute server Url which includes the protocol, server, port in addition to the server relative Url.

Works like Control.ResolveUrl including support for ~ syntax but returns an absolute URL.

public static string ResolveServerUrl(string serverUrl,
	bool forceHttps)

Parameters

serverUrl
forceHttps
if true forces the url to use https

Overloads:


See also:

Class WebUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic