Install
| Product | Versions |
|---|---|
| .NET |
README
Duende.Spaces
Multi-tenant space resolution and isolated storage pools for the Duende libraries.
The experimental Labs package is Duende.Labs.Spaces, using Duende.Labs.Storage.
Register services with AddSpaces() and middleware with UseSpaceResolution().
Use using (accessor.SetSpace(spaceId)) for temporary space context. Pool IDs are
immutable after creation.
Data protection is partitioned by space by default. Put space resolution before
authentication, and enter an explicit space scope for background protection work.
Use GetUnpartitioned() only for intentionally shared data. Application cache keys
are automatically partitioned by space; cache tags remain host-wide.
This replaces MultiSpace without compatibility aliases. Recreate experimental databases when upgrading; no legacy metadata migration is supplied.
See the design for behavior and fork status for upstream provenance and Labs differences.
See docs/technical/spaces.md for the upstream technical design, and docs/how-to/ for task-focused how-to guides.
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.