Digbyswift.Umbraco.Web
17.1.1
Prefix Reserved
dotnet add package Digbyswift.Umbraco.Web --version 17.1.1
NuGet\Install-Package Digbyswift.Umbraco.Web -Version 17.1.1
<PackageReference Include="Digbyswift.Umbraco.Web" Version="17.1.1" />
<PackageVersion Include="Digbyswift.Umbraco.Web" Version="17.1.1" />
<PackageReference Include="Digbyswift.Umbraco.Web" />
paket add Digbyswift.Umbraco.Web --version 17.1.1
#r "nuget: Digbyswift.Umbraco.Web, 17.1.1"
#:package Digbyswift.Umbraco.Web@17.1.1
#addin nuget:?package=Digbyswift.Umbraco.Web&version=17.1.1
#tool nuget:?package=Digbyswift.Umbraco.Web&version=17.1.1
Digbyswift.Umbraco.Web
A nullable-enabled library of useful classes and extensions for supporting an Umbraco v17+ project.
Controllers
A set of base controllers (and supporting classes) that expect an aggregate of dependencies:
public abstract class BaseSurfaceController : SurfaceController
{
protected readonly ILogger Logger;
protected readonly IViewRenderer ViewRenderer;
protected BaseSurfaceController(SurfaceControllerDependencies defaultDependencies) : base(
defaultDependencies.UmbracoContextAccessor,
defaultDependencies.DatabaseFactory,
defaultDependencies.Services,
defaultDependencies.AppCaches,
defaultDependencies.ProfilingLogger,
defaultDependencies.PublishedUrlProvider)
{
Logger = defaultDependencies.Logger;
ViewRenderer = defaultDependencies.ViewRenderer;
}
}
These include:
BaseControllerBaseController<T>BaseSurfaceControllerBaseSurfaceController<T>BaseVirtualControllerBaseVirtualController<T>
Where <T> allows for a strongly typed content model instead of IPublishedContent.
There is also an extension method to register the supporting classes:
services.AddControllerDependencies();
Extensions
A set of basic but useful extensions for making life just a little easier. These include:
BlockListItemExtensions
TypeAlias()Is(string alias)
IContentExtensions
GetDirtyProperties(content)SetValueAsDocumentUdi(string alias, Guid contentKey)SetValueAsMediaUdi(string alias, Guid contentKey)SetValueAsMemberUdi(string alias, Guid contentKey)SetValueAsElementUdi(string alias, Guid contentKey)
IContentServiceExtensions
GetAllChildren(int parentId)GetAllOfType(int contentTypeId)
GuidExtensions
ToUdi(string entityType = uConstants.UdiEntityType.Document)
HttpRequestExtensions
GetPreviewId()TryGetPreviewId()IsPreviewPath()IsReservedPath()IsMediaPath()
LinkExtensions
TargetAsAttribute()
IMemberExtensions
GetDirtyProperties()ToIdentityUser(string memberTypeAlias, bool isApproved = true)
PublishedContentExtensions
TypeAlias()Is(string alias)IsAny(params string[] alias)HasTemplate()HasAncestor(string docTypeAlias)FirstSibling(content)FirstSibling(string alias)FirstSibling<T>(content)PreviousSibling(content)PreviousSibling(string alias)PreviousSibling<T>(Func<T, bool>? filter = null)LastSibling(content)LastSibling(string alias)LastSibling<T>(content)NextSibling(Func<IPublishedbool>? filter = null)NextSibling(string alias)NextSibling<T>(Func<T, bool>? filter = null)
PublishedElementExtensions
TypeAlias()Is(string alias)IsAny(params string[] alias)
UdiExtensions
ToGuid()
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Digbyswift.AspNet (>= 7.2.1)
- Digbyswift.Core (>= 2.7.1)
- MailKit (>= 4.17.0)
- MessagePack (>= 3.1.8)
- Microsoft.OpenApi (>= 3.9.0)
- MimeKit (>= 4.17.0)
- SixLabors.ImageSharp.Web (>= 3.2.0)
- System.Security.Cryptography.Xml (>= 10.0.10)
- Umbraco.Cms.Api.Management (>= 17.0.0)
- Umbraco.Cms.Web.Common (>= 17.0.0)
- Umbraco.Cms.Web.Website (>= 17.0.0)
- Umbraco.StorageProviders.AzureBlob (>= 17.1.0)
- Umbraco.StorageProviders.AzureBlob.ImageSharp (>= 17.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Digbyswift.Umbraco.Web:
| Package | Downloads |
|---|---|
|
Digbyswift.Umbraco.UnitTesting
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 17.1.1 | 139 | 7/22/2026 |
| 17.1.0 | 106 | 7/22/2026 |
| 17.0.0-beta | 270 | 2/11/2026 |
| 13.4.1 | 422 | 12/3/2025 |
| 13.4.0 | 308 | 11/4/2025 |
| 13.3.0 | 407 | 8/28/2025 |
| 13.1.0 | 748 | 11/28/2024 |
| 13.0.0 | 463 | 9/29/2024 |
| 12.0.1-preview0 | 288 | 7/15/2025 |
| 12.0.0 | 247 | 9/29/2024 |
| 10.0.7 | 1,467 | 5/24/2023 |
| 10.0.6 | 816 | 5/24/2023 |
| 10.0.5 | 862 | 5/24/2023 |
| 10.0.4 | 1,409 | 12/19/2022 |
| 10.0.3 | 1,047 | 12/19/2022 |
| 10.0.2 | 1,075 | 12/19/2022 |
| 10.0.1 | 1,181 | 11/10/2022 |
| 10.0.0 | 1,181 | 10/11/2022 |
A nullable-enabled library of useful classes and extensions for supporting an Umbraco v17+ project.