View Source
Class DashboardController
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[PluginController("UmbracoApi")]
[AngularJsonOnlyConfiguration]
[Authorize(Policy = "BackOfficeAccess")]
public class DashboardController : UmbracoApiController, IUmbracoFeature, IDiscoverable
Constructors
View Source
DashboardController(IBackOfficeSecurityAccessor, AppCaches, ILogger<DashboardController>, IDashboardService, IUmbracoVersion, IShortStringHelper, IOptionsSnapshot<ContentDashboardSettings>, ISiteIdentifierService)
Declaration
[ActivatorUtilitiesConstructor]
public DashboardController(IBackOfficeSecurityAccessor backOfficeSecurityAccessor, AppCaches appCaches, ILogger<DashboardController> logger, IDashboardService dashboardService, IUmbracoVersion umbracoVersion, IShortStringHelper shortStringHelper, IOptionsSnapshot<ContentDashboardSettings> dashboardSettings, ISiteIdentifierService siteIdentifierService)
Parameters
Methods
View Source
GetDashboard(String)
Declaration
[ValidateAngularAntiForgeryToken]
public IEnumerable<Tab<IDashboardSlim>> GetDashboard(string section)
Parameters
Type |
Name |
Description |
System.String |
section |
|
Returns
View Source
GetRemoteDashboardContent(String, String)
Declaration
[ValidateAngularAntiForgeryToken]
public async Task<JObject> GetRemoteDashboardContent(string section, string baseUrl)
Parameters
Type |
Name |
Description |
System.String |
section |
|
System.String |
baseUrl |
|
Returns
Type |
Description |
Task<JObject> |
|
View Source
GetRemoteDashboardCss(String, String)
Declaration
public async Task<IActionResult> GetRemoteDashboardCss(string section, string baseUrl)
Parameters
Type |
Name |
Description |
System.String |
section |
|
System.String |
baseUrl |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Mvc.IActionResult> |
|
View Source
GetRemoteXml(String, String)
Declaration
public async Task<IActionResult> GetRemoteXml(string site, string url)
Parameters
Type |
Name |
Description |
System.String |
site |
|
System.String |
url |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Mvc.IActionResult> |
|