Woksin.Extensions.Tenancy.AspNetCore
1.1.0
dotnet add package Woksin.Extensions.Tenancy.AspNetCore --version 1.1.0
NuGet\Install-Package Woksin.Extensions.Tenancy.AspNetCore -Version 1.1.0
<PackageReference Include="Woksin.Extensions.Tenancy.AspNetCore" Version="1.1.0" />
paket add Woksin.Extensions.Tenancy.AspNetCore --version 1.1.0
#r "nuget: Woksin.Extensions.Tenancy.AspNetCore, 1.1.0"
// Install Woksin.Extensions.Tenancy.AspNetCore as a Cake Addin #addin nuget:?package=Woksin.Extensions.Tenancy.AspNetCore&version=1.1.0 // Install Woksin.Extensions.Tenancy.AspNetCore as a Cake Tool #tool nuget:?package=Woksin.Extensions.Tenancy.AspNetCore&version=1.1.0
Tenancy.Extension
Here I should explain how to use this package...
Setup
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. |
-
net6.0
- Woksin.Extensions.Tenancy (>= 1.1.0)
-
net7.0
- Woksin.Extensions.Tenancy (>= 1.1.0)
-
net8.0
- Woksin.Extensions.Tenancy (>= 1.1.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 1.1.0:
Added more features that makes it easier to use this package together with third party libraries and frameworks like Wolverine, Akka, etc.
Added:
- Add resolved tenant context to the HttpContext.Item dictionary and a way to easily retrieve it from the HttpContext without relying on the AsyncLocal TenantContextAccessor
- StaticTenantContextAccessor that resolves either the statically configured tenant or the 'unresolved' tenant context. This type will be used instead of the AsyncLocal TenantContextAccessor if DisableAsyncLocalTenantContext method on TenancyBuilder. This can be useful if you're only interested in using the tenant context by passing it around in messages or using the one that's added to the HttpContext. For instance using frameworks and libraries that relies on running different processes on different threads or resuming contexts (Actor frameworks, Wolverine, etc.) then it can be useful to not rely on the AsyncLocal TenantContextAccessor
Changelog:
For all release notes, see changelog (https://github.com/woksin-org/Woksin.Extensions/blob/main/Packages/DotNET/Tenancy/CHANGELOG.md)