AsNet.Shared.Data
2.1.1.6
See the version list below for details.
dotnet add package AsNet.Shared.Data --version 2.1.1.6
NuGet\Install-Package AsNet.Shared.Data -Version 2.1.1.6
<PackageReference Include="AsNet.Shared.Data" Version="2.1.1.6" />
<PackageVersion Include="AsNet.Shared.Data" Version="2.1.1.6" />
<PackageReference Include="AsNet.Shared.Data" />
paket add AsNet.Shared.Data --version 2.1.1.6
#r "nuget: AsNet.Shared.Data, 2.1.1.6"
#:package AsNet.Shared.Data@2.1.1.6
#addin nuget:?package=AsNet.Shared.Data&version=2.1.1.6
#tool nuget:?package=AsNet.Shared.Data&version=2.1.1.6
AsNet.Shared.Data v2.1.1.6
Descripción
AsNet.Shared.Data es una biblioteca de integración con el sistema AsNetSecurity que permite obtener y generar cadenas de conexión dinámicas para aplicaciones Multi-Tenant.
Esta versión está diseñada para:
- .NET Standard
- .NET 6.0
- .NET 7.0
Incluye un nuevo método para manejar múltiples ConnectionStrings por tenantKey desde el archivo appsettings.json.
Características
- Generación dinámica de cadenas de conexión por tenant.
- Integración con servicios de seguridad de AsNet.
- Soporte para múltiples entornos y proveedores de conexión.
- Configuración flexible desde
appsettings.json.
Configuración
Para esta versión se requieren dos secciones de configuración en appsettings.json:
"AsNet": {
"Security": {
"ApplicationSettings": {
"CommandTimeout": 301,
"ConnectionProviderName": "Microsoft.Data.SqlClient",
"ApplicationId": "29880977-F102-4C51-AC41-E23C1D28DC5B",
"ApplicationName": "ApplicationName",
"ApplicationSalt": "ApplicationSalt",
"ConnectionType": "Production",
"SecurityWebApi": "https://wapiasnetsecurity.azurewebsites.net/api",
"DefaultLocalConnectionName": "AsNetSecurity_Dllo",
"DBContextLogger": false
},
"IdentityServerSettings": {
"Address": "https://ssopru.asnet.app",
"ClientId": "",
"ClientSecret": "",
"Scope": ""
}
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net6.0
- AsNet.Shared.Http (>= 1.1.1)
- IdentityModel (>= 7.0.0)
- Microsoft.EntityFrameworkCore (>= 7.0.20)
- Microsoft.Extensions.Http (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
-
net7.0
- AsNet.Shared.Http (>= 1.1.1)
- IdentityModel (>= 7.0.0)
- Microsoft.EntityFrameworkCore (>= 7.0.20)
- Microsoft.Extensions.Http (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
-
net8.0
- AsNet.Shared.Http (>= 1.1.1)
- IdentityModel (>= 7.0.0)
- Microsoft.EntityFrameworkCore (>= 9.0.0)
- Microsoft.Extensions.Http (>= 9.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
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 | |
|---|---|---|---|
| 2.2.1 | 100 | 1/14/2026 | |
| 2.2.0 | 88 | 1/13/2026 | |
| 2.1.1.6 | 225 | 6/30/2025 | |
| 2.1.1.5 | 214 | 1/6/2025 | |
| 2.1.1.4 | 183 | 12/9/2024 | |
| 2.1.1.3 | 192 | 12/9/2024 | |
| 2.1.1.2 | 215 | 11/11/2024 | |
| 2.1.1.1 | 225 | 9/6/2024 | |
| 2.1.1 | 218 | 6/9/2024 | |
| 2.1.0.8 | 227 | 5/29/2024 | |
| 2.1.0.7 | 259 | 4/1/2024 | |
| 2.1.0.6 | 209 | 3/30/2024 | |
| 2.1.0.5 | 259 | 9/29/2023 | |
| 2.1.0.4 | 201 | 9/28/2023 | |
| 2.1.0.3 | 236 | 9/2/2023 | |
| 2.1.0.2 | 275 | 6/15/2023 | |
| 2.1.0.1 | 290 | 6/12/2023 | |
| 2.1.0 | 295 | 5/3/2023 | |
| 2.0.4.3 | 363 | 3/27/2023 | |
| 2.0.4.2 | 374 | 2/16/2023 | |
| 2.0.4.1 | 457 | 1/15/2023 | |
| 2.0.4 | 434 | 1/12/2023 | |
| 2.0.3.1 | 516 | 9/4/2022 | |
| 2.0.2.2 | 581 | 5/11/2022 |
Esta versión esta diseñada para Net 6.0/7.0/8.0.
Incluye nuevo metodo para manejar multiples ConnectionStrings
por tenantKey desde el archivo AppSettings.