Skip to content

ISiteAbsoluteUrl.GetExternalUrl method

Returns the absolute external/public url of the current site, used to generate links for activation emails etc. The default implementation builds it from one of these in this order: 1) The current http request base url if available, 2) EnvironmentSettings:SiteExternalUrl setting

public string GetExternalUrl()

See Also