Back to Devexpress

RestrictedDashboardController Class

dashboard-devexpress-dot-dashboardaspnetcore-310339bb.md

latest3.2 KB
Original Source

RestrictedDashboardController Class

A dashboard controller that handles interactions between client and server sides in Restricted mode.

Namespace : DevExpress.DashboardAspNetCore

Assembly : DevExpress.Dashboard.v25.2.AspNetCore.dll

NuGet Package : DevExpress.AspNetCore.Dashboard

Declaration

csharp
public abstract class RestrictedDashboardController :
    Controller
vb
Public MustInherit Class RestrictedDashboardController
    Inherits Controller

Remarks

Warning

Working mode does not influence server settings. Initially, the server works at the ClientTrustLevel.Full trust level. Verify trust level and specify the actions a client can initiate on the server.

You can do one of the following to prevent inadvertent or unauthorized dashboard modifications and protect dashboards stored on a server:

Restricted  mode affects the Web Dashboard in the following manner:

  • Only dashboards stored in dashboard storage can be processed on the client. Designer mode does not work.

  • Calling the IEditableDashboardStorage.AddDashboard and IDashboardStorage.SaveDashboard methods leads to an exception.

  • Information about data sources contained in a dashboard xml definition is not passed to the client when you request a dashboard XML file.

See the following example for information on how to create and use a restricted dashboard controller:

View Example: ASP.NET Core - How to create a restricted dashboard controller

Inheritance

Object ControllerBase Controller RestrictedDashboardController DashboardController

See Also

RestrictedDashboardController Members

DevExpress.DashboardAspNetCore Namespace