Define it all in one C# class!
Define culture based names using C# => SetName("Name", "cy-GB")
You can still use lang files if required.
No package.manifest or lang/lang.xml files are required to get a dashboard up and running.
This packages aims to help developers quickly put together Umbraco Dashboards using C# only.
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 { }
/Views/Dashboard
Dashboard
)BasicDashboard.cs
=> /Views/Dashboard/Basic.cshtml
@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.