Centaurea.Multitenancy.Annotation 1.30.0

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

Multitenancy (Early alpha version, Code/Structure/API changes expected)

Lightweight, minimalistic multitenant extension at the top of ASP.NET CORE MVC platform

Both libraries target .NET 10 and can be used by applications targeting .NET 10 or later. The main library uses the ASP.NET Core shared framework.

The test suite runs against .NET 10.

At the current moment this lib basically solve 2 multitenant problems:

  1. Allow to configure DI for a specific tenant
  2. Allow to use tenant specific settings without making any changes to code, only dealing with initial 'raw' settings data (ex: json files)

Lib assumed that tenants have json configuration with following structure

{
"Tenants":{  
    "<Tenant-Name>":{  
        <TenantSettingsObject>  
        }  
    }  
}

or any other configuration format who could provide following keys for settings

tenants:<TenantName>:<ActualConfig>


tenants configuration for json file should looks like this

`{"tenantName1":"regexpForHost1", "tenantName2":"regexpForHost2", ...}`
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.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Centaurea.Multitenancy.Annotation:

Package Downloads
Centaurea.Multitenancy

Lightweight, minimalistic multitenant extension at the top of ASP.NET CORE MVC platform

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.30.0 291 10/28/2026
0.0.1.6 12,210 7/11/2019
0.0.1.5 1,092 7/6/2019
0.0.1.4 2,515 2/21/2019
0.0.1.3 790 2/21/2019
0.0.1.2 1,731 2/14/2019
0.0.1.1 1,612 1/25/2019