Ayaka.MultiTenancy.AspNetCore
4.0.0-preview
Prefix Reserved
This is a prerelease version of Ayaka.MultiTenancy.AspNetCore.
dotnet add package Ayaka.MultiTenancy.AspNetCore --version 4.0.0-preview
NuGet\Install-Package Ayaka.MultiTenancy.AspNetCore -Version 4.0.0-preview
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="Ayaka.MultiTenancy.AspNetCore" Version="4.0.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ayaka.MultiTenancy.AspNetCore" Version="4.0.0-preview" />
<PackageReference Include="Ayaka.MultiTenancy.AspNetCore" />
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 Ayaka.MultiTenancy.AspNetCore --version 4.0.0-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ayaka.MultiTenancy.AspNetCore, 4.0.0-preview"
#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 Ayaka.MultiTenancy.AspNetCore@4.0.0-preview
#: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=Ayaka.MultiTenancy.AspNetCore&version=4.0.0-preview&prerelease
#tool nuget:?package=Ayaka.MultiTenancy.AspNetCore&version=4.0.0-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About
Selects the tenant for every ASP.NET Core request.
Key Features
- Detect the tenant from a header, the host, or your own source
- Reject requests without a tenant (400) or with an unknown one (404)
- Let selected endpoints, such as health checks, run without a tenant
- Plug in your own detection and resolution
Selecting a tenant doesn't authorize the caller; your authorization policies decide that.
How to Use
- Quickstart — a working tenant-aware API in a few minutes
- Request pipeline — register and place the middleware
- Tenant detection — where the tenant ID comes from
- Tenant resolution — accept or reject detected tenants
- Troubleshooting — start from a response or exception you see
Feedback & Contributing
Ayaka is an open-source project and welcomes contributions. If you have any ideas, improvements or issues, please open an issue
or a pull request at the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- Ayaka.MultiTenancy.Abstractions (>= 4.0.0-preview)
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 |
|---|---|---|
| 4.0.0-preview | 51 | 11/20/2026 |
| 3.1.0-preview | 55 | 11/20/2026 |
| 3.0.1-preview | 109 | 10/29/2026 |
| 3.0.0-preview | 67 | 10/27/2026 |
| 2.2.1-preview | 112 | 6/8/2026 |
| 2.2.0-preview | 255 | 5/26/2025 |
| 2.1.0-preview | 226 | 3/18/2025 |
| 2.0.1-preview | 221 | 3/13/2025 |
| 2.0.0-preview | 205 | 3/13/2025 |
| 1.2.0-preview | 216 | 3/9/2025 |