ISiteAbsoluteUrl.GetExternalUrl method

namespace: Serenity.Abstractions   assemblySerenity.Net.Core

Returns the absolute external/public url of the current site, used to generate links for activation e-mails 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