Click or drag to resize

Utils_UrlTryGetAbsoluteExternalUrl Method

Tries to combine the external server url with target url. Throws exception if target or server url is invalid. Returns a relative url if server url is null or empty.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static string TryGetAbsoluteExternalUrl(
	string externalServerUrl,
	string targetUrl
)

Parameters

externalServerUrl
Type: SystemString
The external server URL.
targetUrl
Type: SystemString
The target URL.

Return Value

Type: String
See Also