Zymergi.AspNetCore
11.1.0-alpha
See the version list below for details.
dotnet add package Zymergi.AspNetCore --version 11.1.0-alpha
NuGet\Install-Package Zymergi.AspNetCore -Version 11.1.0-alpha
<PackageReference Include="Zymergi.AspNetCore" Version="11.1.0-alpha" />
<PackageVersion Include="Zymergi.AspNetCore" Version="11.1.0-alpha" />
<PackageReference Include="Zymergi.AspNetCore" />
paket add Zymergi.AspNetCore --version 11.1.0-alpha
#r "nuget: Zymergi.AspNetCore, 11.1.0-alpha"
#:package Zymergi.AspNetCore@11.1.0-alpha
#addin nuget:?package=Zymergi.AspNetCore&version=11.1.0-alpha&prerelease
#tool nuget:?package=Zymergi.AspNetCore&version=11.1.0-alpha&prerelease
Zymergi.AspNetCore
Shared ASP.NET Core layer for Zymergi apps: registrable-entity CRUD controllers, XSLT views, performance filters, and startup helpers.
Package id is Zymergi.AspNetCore. The C# namespace remains Zymergi.Web so existing using Zymergi.Web; statements stay valid.
Targets .NET 10. Depends on Zymergi.Core and Zymergi.Rendering (XSLT views). CachedServiceBase lives in this package, namespace Zymergi.Http. Article and social controllers are not in this package; reference Zymergi.Articles and Zymergi.Social from the host when those features are needed. Register a Zymergi.Search.* adapter in the host app when search is needed.
Install
dotnet add package Zymergi.AspNetCore
Usage
Subclass DbRegistrableControllerBase<T> rather than reimplementing CRUD. T is an IRegistrable, and the repository is an IDbRegistrableRepository<T>:
using Microsoft.AspNetCore.Mvc;
using Zymergi.Data;
using Zymergi.Web.Api.Controllers;
[Route("items")]
public class ItemsController(IDbRegistrableRepository<Item> repo, IHttpContextAccessor context)
: DbRegistrableControllerBase<Item>(repo, context)
{
}
DbRegistrableControllerBase<T> looks up entities by uid or handle and runs writes inside DbUnitOfWork. ControllerXslt renders XML through XSLT for SEO HTML. The XSLT pool is registered from configuration:
services.AddXslTransformViewPool(configuration); // requires PATH_XSL
PersistLogEntryToRepo resolves ILogRepository from the request services. The host registers that repository. This package does not ship a MariaDB logging registration.
Also included: CachedHttpClient, TrackPerformanceFilter / TrackUsageAttribute, WebLoggor, LogSearchModel, and WebExtensionMethods.
| 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
- Zymergi.Core (>= 11.1.0-alpha)
- Zymergi.Rendering (>= 11.1.0-alpha)
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 |
|---|---|---|
| 11.1.1-alpha | 72 | 10/4/2026 |
| 11.1.0-alpha | 88 | 10/1/2026 |
| 11.0.6-alpha | 111 | 7/10/2026 |
| 11.0.5-alpha | 120 | 7/9/2026 |
| 11.0.4-alpha | 81 | 7/6/2026 |
| 11.0.3-alpha | 74 | 7/6/2026 |
| 11.0.2-alpha | 119 | 6/30/2026 |
| 11.0.1-alpha | 114 | 6/30/2026 |
| 11.0.0-alpha | 75 | 6/30/2026 |