Ledon.MultiTenancy.Management
0.0.1
dotnet add package Ledon.MultiTenancy.Management --version 0.0.1
NuGet\Install-Package Ledon.MultiTenancy.Management -Version 0.0.1
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="Ledon.MultiTenancy.Management" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ledon.MultiTenancy.Management" Version="0.0.1" />
<PackageReference Include="Ledon.MultiTenancy.Management" />
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 Ledon.MultiTenancy.Management --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ledon.MultiTenancy.Management, 0.0.1"
#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 Ledon.MultiTenancy.Management@0.0.1
#: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=Ledon.MultiTenancy.Management&version=0.0.1
#tool nuget:?package=Ledon.MultiTenancy.Management&version=0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Ledon.MultiTenancy.Management
租户目录管理:租户 CRUD + 开通/回收钩子,配合 Ledon.MultiTenancy 的解析与过滤使用。
builder.Services.AddLedonTenantManagement(o => o.RequireAuthorization = true);
builder.Services.AddSingleton<ITenantProvisioner, MyTenantProvisioner>();
端点:
GET /tenantsGET /tenants/{id}POST /tenants{ id, name?, connectionString? }PUT /tenants/{id}{ name?, connectionString?, active }DELETE /tenants/{id}默认内存
ITenantStore,可替换为数据库实现;ITenantProvisioner在创建/更新时调用ProvisionAsync,删除时调用DeprovisionAsync;创建失败会回滚目录项;ConnectionString属敏感信息,建议结合Ledon.Settings/列加密存储;生产环境请开启
RequireAuthorization。
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Asp.Versioning.Http (>= 10.2.3)
- Asp.Versioning.Mvc (>= 10.2.1)
- Ledon.MultiTenancy (>= 0.0.1)
- Ledon.Web (>= 0.0.1)
- Microsoft.AspNetCore.DataProtection.StackExchangeRedis (>= 10.0.13)
- Microsoft.AspNetCore.OpenApi (>= 10.0.13)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.13)
- Microsoft.Extensions.Caching.Hybrid (>= 10.11.0)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 10.0.13)
- Microsoft.Extensions.DependencyModel (>= 10.0.13)
- Scalar.AspNetCore (>= 2.18.3)
- StackExchange.Redis (>= 2.7.27)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Ledon.MultiTenancy.Management:
| Package | Downloads |
|---|---|
|
Ledon.Data.MultiTenancy
.NET 10 模块化 Web 开发框架:解耦优先,自动发现与自动注入,能力按需引入。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.1 | 48 | 10/28/2026 |