Skip to main content
ZeroAlloc.Authorization.Generator package icon

ZeroAlloc.Authorization.Generator

Source generator for ZeroAlloc.Authorization โ€” emits per-assembly DI registrations and AuthorizerFor<T> dispatchers from [Policy] and [RequirePolicy] declarations. Reference from the project that declares [Policy] / [RequirePolicy] and set <ZeroAllocAuthorizationOwnsPolicies>true</ZeroAllocAuthorizationOwnsPolicies> in that project's PropertyGroup.

Total Downloads
6.0K
6,048
Published
Sep 20, 2026
Latest stable version

Install

.NET CLI
dotnet add package ZeroAlloc.Authorization.Generator --version 2.1.3
Package Manager Console
Install-Package ZeroAlloc.Authorization.Generator -Version 2.1.3
PackageReference
<PackageReference Include="ZeroAlloc.Authorization.Generator" Version="2.1.3" />

Frameworks

No framework metadata available.

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.