Appearance
OnApplicationNotInitialized Method
Definition
- Namespace:
JASE.Web - Assembly:
JASE.Web.dll
IActionResult OnApplicationNotInitialized()
csharp
IActionResult OnApplicationNotInitialized()Handles requests when application initialization is configured but has not completed.
Remarks
Default behavior returns an embedded HTML page as a ContentResult with status code ApplicationNotInitializedStatusCode (503 by default). Response content and status can be configured via Configuration setters. Derived controllers may override to return a different response. Marked NonActionAttribute so MVC does not treat this (or IsDisposed) as an endpoint on the controller route.