In this tutorial, you will learn how to create a custom dashboard within Umbraco CMS v9. Creating a custom dashboard will allow you to extend Umbracos out-of-the-box functionalities. Lucky, creating a new dashboard within Umbraco is pretty simple. If you want to learn how, read on 🔥🔥🔥


In order to create dashboard, you will need to create a class and implement from IDashboard:

You can access wherein the CMS your dashboard will be rendered using Constants.Applications.Content. You can also access the security bits and bobs using Constants.Security.EditorGroupAlias

Controllers

To create a secure backend controller, you can use UmbracoAuthorizedController. Personally when I tried to get this working I had an issue getting the CMS to return a view. If you find yourself in this situation, you can manually do the same thing using a normal Controller, like this:

When it comes to secure controllers you will need to define your own custom routing rules:

The routing rules would then look like this:


Happy Coding 🤘