Class ContentRoutingReadinessExtensions
Extension methods for IContentRoutingReadiness.
Inheritance
object
Namespace: Umbraco.Cms.Core.Routing
Assembly: Umbraco.Core.dll
Syntax
public static class ContentRoutingReadinessExtensions
Methods
View SourceIsInInitializationWindow(IContentRoutingReadiness, IRuntimeState)
Determines whether the application is running but per-server content caches are still being seeded, meaning front-end content must not be routed yet (a maintenance page / 503 should be shown instead).
Declaration
public static bool IsInInitializationWindow(this IContentRoutingReadiness readiness, IRuntimeState runtimeState)
Parameters
| Type | Name | Description |
|---|---|---|
| IContentRoutingReadiness | readiness | The content-routing readiness signal for this server. |
| IRuntimeState | runtimeState | The runtime state, used to check the current RuntimeLevel. |
Returns
| Type | Description |
|---|---|
| bool |
|
Remarks
Only the Run window is considered here; other levels
(Install, Upgrade, Upgrading, BootFailed) are already gated by the
existing runtime-level checks in the routing and maintenance machinery.