View Source
Class SingleServerRegistrar
Can be used when Umbraco is definitely not operating in a Load Balanced scenario to micro-optimize some startup performance
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class SingleServerRegistrar : IServerRegistrar
Constructors
View Source
SingleServerRegistrar(IRuntimeState)
Declaration
public SingleServerRegistrar(IRuntimeState runtime)
Parameters
Properties
View Source
Registrations
Declaration
public IEnumerable<IServerAddress> Registrations { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<IServerAddress> |
|
Methods
View Source
GetCurrentServerRole()
Declaration
public ServerRole GetCurrentServerRole()
Returns
View Source
GetCurrentServerUmbracoApplicationUrl()
Declaration
public string GetCurrentServerUmbracoApplicationUrl()
Returns
Type |
Description |
System.String |
|