Class InstallController
The Installation controller
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Microsoft.AspNetCore.Mvc.Controller
Namespace: Umbraco.Cms.Web.BackOffice.Install
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[InstallAuthorize]
public class InstallController : Controller, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
Constructors
View SourceInstallController(IBackOfficeSecurityAccessor, InstallHelper, IRuntimeState, IOptions<GlobalSettings>, IRuntimeMinifier, IHostingEnvironment, IUmbracoVersion, ILogger<InstallController>, LinkGenerator)
Declaration
public InstallController(IBackOfficeSecurityAccessor backofficeSecurityAccessor, InstallHelper installHelper, IRuntimeState runtime, IOptions<GlobalSettings> globalSettings, IRuntimeMinifier runtimeMinifier, IHostingEnvironment hostingEnvironment, IUmbracoVersion umbracoVersion, ILogger<InstallController> logger, LinkGenerator linkGenerator)
Parameters
Type | Name | Description |
---|---|---|
IBackOfficeSecurityAccessor | backofficeSecurityAccessor | |
InstallHelper | installHelper | |
IRuntimeState | runtime | |
Microsoft.Extensions.Options.IOptions<GlobalSettings> | globalSettings | |
IRuntimeMinifier | runtimeMinifier | |
IHostingEnvironment | hostingEnvironment | |
IUmbracoVersion | umbracoVersion | |
Microsoft.Extensions.Logging.ILogger<InstallController> | logger | |
Microsoft.AspNetCore.Routing.LinkGenerator | linkGenerator |
Methods
View SourceIndex()
Declaration
[HttpGet]
[StatusCodeResult(HttpStatusCode.ServiceUnavailable)]
public async Task<ActionResult> Index()
Returns
Type | Description |
---|---|
Task<Microsoft.AspNetCore.Mvc.ActionResult> |
Redirect()
Declaration
[HttpGet]
public ActionResult Redirect()
Returns
Type | Description |
---|---|
Microsoft.AspNetCore.Mvc.ActionResult |