Umbraco.Community.SimpleContentApps
10.0.4-alpha0011
This is a prerelease version of Umbraco.Community.SimpleContentApps.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Umbraco.Community.SimpleContentApps --version 10.0.4-alpha0011
NuGet\Install-Package Umbraco.Community.SimpleContentApps -Version 10.0.4-alpha0011
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Umbraco.Community.SimpleContentApps" Version="10.0.4-alpha0011" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Umbraco.Community.SimpleContentApps" Version="10.0.4-alpha0011" />
<PackageReference Include="Umbraco.Community.SimpleContentApps" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Umbraco.Community.SimpleContentApps --version 10.0.4-alpha0011
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Umbraco.Community.SimpleContentApps, 10.0.4-alpha0011"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Umbraco.Community.SimpleContentApps@10.0.4-alpha0011
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Umbraco.Community.SimpleContentApps&version=10.0.4-alpha0011&prerelease
#tool nuget:?package=Umbraco.Community.SimpleContentApps&version=10.0.4-alpha0011&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Umbraco.Community.SimpleContentApps
This packages aims to help developers quickly put together Umbraco ContentApps using C#.
- Simplifies C# based ContentApp creation
- Supports both Views & View Components
- No package.manifest or lang/lang.xml files required!
- Variant support (culture specific names)
- Easy to define Access Rules
Looking for Umbraco Workspace Views? Check out Umbraco.Community.SimpleWorkspaceViews
Quick Start
Install Package
dotnet add package Umbraco.Community.SimpleContentApps
Register ContentApp
using Umbraco.Cms.Core.Dashboards;
using Umbraco.Cms.Core.Models.ContentEditing;
using Umbraco.Community.SimpleContentApps.Core;
namespace Umbraco.Community.SimpleContentApps.TestSite;
public class BasicContentApp : ISimpleContentApp
{
public string Icon => Cms.Core.Constants.Icons.Content;
public bool ShowInContent => true;
public bool ShowInContentType => false;
public bool ShowInMedia => false;
public bool ShowInMembers => false;
public IAccessRule[] Rules => new[] { SimpleAccessRule.AllowAdminGroup };
public int Weight => 0;
public string Name => "Basic Content App";
public string? CultureName(string? currentUiCulture) => Name;
public ContentAppBadge? Badge => ContentAppBadges.None;
}
Create View
- Your view must go in
/Views/ContentApps
- You view must be the name of your C# class (without
ContentApp
)- For example:
BasicContentApp.cs
⇒/Views/ContentApps/Basic.cshtml
- For example:
@using Umbraco.Community.SimpleContentApps.Core.Extensions
@inherits Umbraco.Community.SimpleContentApps.Web.SimpleContentAppViewPage
<h1>Hello Umbraco</h1>
<p>My ContentApp alias is: @Model.ContentApp.Alias()</p>
Contributing
Contributions to this package are most welcome! Please visit the Contributing page.
Acknowledgements (Thanks)
- LottePitcher - opinionated-package-starter
- jcdcdev - jcdcdev.Umbraco.PackageTemplate
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- jcdcdev.Umbraco.Core (>= 10.1.0 && < 11.0.0)
- Umbraco.Cms.Web.BackOffice (>= 10.4.0 && < 11.0.0)
- Umbraco.Cms.Web.Common (>= 10.4.0 && < 11.0.0)
- Umbraco.Cms.Web.Website (>= 10.4.0 && < 11.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
13.0.7-alpha0009 | 100 | 7/16/2025 |
13.0.6 | 281 | 6/10/2025 |
13.0.6-alpha0016 | 139 | 6/1/2025 |
13.0.5 | 205 | 4/27/2025 |
13.0.4 | 160 | 3/16/2025 |
13.0.4-alpha0003 | 150 | 3/12/2025 |
13.0.3 | 202 | 10/30/2024 |
13.0.3-alpha0003 | 92 | 10/28/2024 |
13.0.2 | 132 | 9/29/2024 |
13.0.2-alpha0056 | 103 | 10/9/2024 |
13.0.2-alpha0034 | 108 | 9/28/2024 |
13.0.2-alpha0015 | 83 | 9/28/2024 |
13.0.1 | 151 | 7/11/2024 |
13.0.0 | 247 | 5/25/2024 |
13.0.0-alpha0001 | 116 | 5/25/2024 |
12.0.0 | 155 | 5/25/2024 |
12.0.0-alpha0001 | 122 | 5/25/2024 |
10.0.4 | 133 | 6/17/2025 |
10.0.4-alpha0011 | 272 | 6/12/2025 |
10.0.3 | 125 | 4/27/2025 |
10.0.2 | 160 | 3/31/2025 |
10.0.2-alpha0003 | 145 | 3/30/2025 |
10.0.1 | 124 | 2/4/2025 |
10.0.1-alpha0029 | 89 | 1/25/2025 |
10.0.1-alpha0016 | 93 | 10/28/2024 |
10.0.1-alpha0007 | 96 | 9/29/2024 |
10.0.0 | 131 | 5/25/2024 |
10.0.0-alpha0001 | 114 | 5/25/2024 |
0.2.6 | 187 | 5/11/2024 |
0.2.5 | 152 | 5/6/2024 |
0.2.4 | 197 | 1/4/2024 |
0.2.3 | 156 | 1/4/2024 |
0.2.2 | 158 | 1/4/2024 |
0.2.1 | 210 | 11/10/2023 |
0.2.0 | 206 | 8/25/2023 |
0.1.0 | 185 | 8/24/2023 |