Zymergi.AspNetCore 11.1.1-alpha

This is a prerelease version of Zymergi.AspNetCore.
dotnet add package Zymergi.AspNetCore --version 11.1.1-alpha
                    
NuGet\Install-Package Zymergi.AspNetCore -Version 11.1.1-alpha
                    
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="Zymergi.AspNetCore" Version="11.1.1-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zymergi.AspNetCore" Version="11.1.1-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Zymergi.AspNetCore" />
                    
Project file
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 Zymergi.AspNetCore --version 11.1.1-alpha
                    
#r "nuget: Zymergi.AspNetCore, 11.1.1-alpha"
                    
#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 Zymergi.AspNetCore@11.1.1-alpha
                    
#: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=Zymergi.AspNetCore&version=11.1.1-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Zymergi.AspNetCore&version=11.1.1-alpha&prerelease
                    
Install as a Cake Tool

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 is Zymergi.AspNetCore.

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.AspNetCore.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

AddXslTransformViewPool forwards to Zymergi.Rendering. The call still reads PATH_XSL and throws when the pool is resolved if the key is missing.

PersistLogEntryToRepoAsync resolves ILogRepository from the request services and awaits LogAsync. The host registers that repository. This package does not ship a MariaDB logging registration.

ClaimsList reads claims from a JWT string. It does not check the signature, the issuer, or the lifetime. The host validates the token. ClaimsExtensionMethods.GetValue returns the first matching claim value, or null.

using Zymergi.AspNetCore;

var claims = new ClaimsList(jwt);
string? email = claims.GetValue(ClaimTypes.Email);

Also included: CachedHttpClient, TrackPerformanceFilter / TrackUsageAttribute, WebLoggor, LogSearchModel, and WebExtensionMethods.

Source: bitbucket.org/zymergy/zymergi.saas

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 65 10/4/2026
11.1.0-alpha 83 10/1/2026
11.0.6-alpha 110 7/10/2026
11.0.5-alpha 118 7/9/2026
11.0.4-alpha 79 7/6/2026
11.0.3-alpha 72 7/6/2026
11.0.2-alpha 118 6/30/2026
11.0.1-alpha 114 6/30/2026
11.0.0-alpha 74 6/30/2026