How to: Use Separate Server-Side Settings for Different Views in the ASP.NET MVC Dashboard

  • 5 minutes to read

This example shows how to use separate DashboardConfigurator instances within an ASP.NET MVC Dashboard application to provide different server-side settings. In this example, the Sales and Marketing views use different dashboard storage and different data connections.

using System.Web.Mvc;

namespace MVCDashboard_ServerSideAPI.Controllers {
    public class HomeController : Controller {
        public ActionResult Index() {
            return View();

        public ActionResult SalesDashboards() {
            return View("SalesView");
        public ActionResult MarketingDashboards() {
            return View("MarketingView");