This packages aims to help developers quickly put together Umbraco Dashboards using C# only.
- C# dashboard creation
- No javascript or umbraco-package.json files required
- Supports both Views & View Components
- Easy to define section permissions
dotnet add package Umbraco.Community.SimpleDashboards
By default, this will display in the content section for Admins only.
using Umbraco.Community.SimpleDashboards.Web;
public class BasicDashboard : SimpleDashboard { }
- Your view must go in
/Views/Dashboard
- You view must be the name of your C# class (without
Dashboard
)- For example:
BasicDashboard.cs
=>/Views/Dashboard/Basic.cshtml
- For example:
@inherits Umbraco.Community.SimpleDashboards.Web.DashboardViewPage
<uui-box headline="Hello Umbraco">
<p>My Dashboard is: @Model.Dashboard.Alias</p>
</uui-box>
Contributions to this package are most welcome! Please read the Contributing Guidelines.
- LottePitcher - opinionated-package-starter