GetFormattedBaseUrl Method
Definition
- Namespace
- Cuemon.AspNetCore.Razor.TagHelpers
- Assemblies
- Cuemon.AspNetCore.Razor.TagHelpers.dll
GetFormattedBaseUrl()
Gets the base URL of this instance, formatted according to the defined Scheme.
public string GetFormattedBaseUrl()
Returns
GetFormattedBaseUrl(HttpRequest)
Gets the base URL of this instance, resolved from the configured values of this instance or the specified request.
public string GetFormattedBaseUrl(HttpRequest request)
Parameters
requestHttpRequestThe current HTTP request that may provide the effective scheme, host and application base path when BaseUrlMode is Automatic and BaseUrl is not configured.
Returns
- string
The base URL of this instance, resolved from the configured values of this instance or the specified
request.