Novatech.RCL
1.0.13
See the version list below for details.
dotnet add package Novatech.RCL --version 1.0.13
NuGet\Install-Package Novatech.RCL -Version 1.0.13
<PackageReference Include="Novatech.RCL" Version="1.0.13" />
<PackageVersion Include="Novatech.RCL" Version="1.0.13" />
<PackageReference Include="Novatech.RCL" />
paket add Novatech.RCL --version 1.0.13
#r "nuget: Novatech.RCL, 1.0.13"
#:package Novatech.RCL@1.0.13
#addin nuget:?package=Novatech.RCL&version=1.0.13
#tool nuget:?package=Novatech.RCL&version=1.0.13
README
This README would normally document whatever steps are necessary to get your application up and running.
What is this repository for?
- Quick summary
- Version
- Learn Markdown
How do I get set up?
- Summary of set up
- Configuration
- Dependencies
- Database configuration
- How to run tests
- Deployment instructions
Contribution guidelines
- Writing tests
- Code review
- Other guidelines
Who do I talk to?
- Repo owner or admin
- Other community or team contact
Utilizzo di TenantResolveSubdomain
All'interno del progetto è presente un modulo chiamato TenantResolveSubdomain che gestisce la risoluzione dei tenant in base al sottodominio della richiesta. Questo modulo è fondamentale per garantire che ogni richiesta venga instradata correttamente al tenant appropriato.
Per registrare il servizio di risoluzione dei tenant.
builder.Services.AddTenantResolveSubdomain();
Importare i namespace necessari:
@inject ITenantProvider TenantProvider @inject ITenantResolver TenantResolver
Per settare il tenant correte in base all'url inserire in App.razor
protected override void OnInitialized() { // All'avvio, estrai il tenant dall'URL corrente var tenant = TenantResolver.GetTenantFromUrl(NavigationManager.Uri); if (!string.IsNullOrEmpty(tenant)) { TenantProvider.SetTenant(tenant); } // Se manca (es. dominio base in produzione), potresti reindirizzare o impostare un default }
| 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. |
-
net10.0
- Microsoft.AspNetCore.Components.Authorization (>= 10.0.12)
- Microsoft.AspNetCore.Components.Web (>= 10.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.