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