Guides
How to put TenantGuard to work. The reference lists every rule, option and message.
- Why TenantGuard: the gap it closes, and how it compares with other tools
- A use case: one invoicing app, four ordinary changes that leak, and where TenantGuard catches each
- Hand-rolled query filters: a context with its own tenant and a
HasQueryFilterper entity - Finbuckle.MultiTenant: entities marked with
IsMultiTenant() - Testing: prove isolation per entity, with xUnit, NUnit, MSTest or TUnit
- Migrating an existing app: turn TenantGuard on without stopping production
The samples run what the first two guides show, and
tests/e2e runs the probe against each one.