# Finbuckle/Finbuckle.MultiTenant

MultiTenant is an open source multi-tenancy library for modern .NET created and maintained by Finbuckle LLC.

Repository: https://github.com/Finbuckle/Finbuckle.MultiTenant
Canonical: https://ross.abutalabs.com/products/finbucklemultitenant
Homepage: https://www.finbuckle.com/MultiTenant
Language: C#
License: Apache-2.0
License Family: permissive
Topics: aspnetcore, efcore, dotnet, multi-tenant
Last push: 2026-08-20T20:32:25+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 97, longevity 100
- inputs: {"age_days": 3288, "days_push": 13, "days_rel": 22, "gap_med": 1, "n_releases_24m": 56}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1617, forks 299 (observed 2026-08-28T04:05:11.982598+00:00)

## What it is
Finbuckle.MultiTenant is an open source multi-tenancy library for modern .NET, primarily targeting ASP.NET Core and Entity Framework Core applications. It provides tenant resolution strategies, tenant stores, per-tenant options and authentication, and per-tenant data isolation.

## Use cases
- add multi-tenancy to an ASP.NET Core SaaS app
- resolve tenants from subdomains, route, or headers
- isolate tenant data with EF Core shared or separate databases
- configure per-tenant options and authentication
- store tenant info in config, EF Core, or distributed cache

## When to choose
- building a .NET SaaS application that serves multiple tenants
- you need drop-in multitenancy following standard .NET DI and Options conventions
- you want flexible tenant resolution strategies with fallback chaining

## When to avoid
- your application is not on .NET or ASP.NET Core
- you need a fully hosted multi-tenant platform rather than a library
- you use a .NET version not aligned with the library's major version

## Facets
- artifact type: library
- maturity: stable
- function: middleware, auth, orm, web-framework
- domain: web-development, backend, security, databases
- platform: dotnet, cross-platform
- tags: multi-tenancy, aspnetcore, efcore, saas, tenant-resolution, per-tenant-data, web-server

## Member repositories
- Finbuckle/Finbuckle.MultiTenant (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:11.982598+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:49:41.652544+00:00, confidence not recorded.
  - readme: https://github.com/Finbuckle/Finbuckle.MultiTenant (fetched 2026-08-28T04:05:11.982598+00:00, sha 7851ed6c1716)
  - homepage: https://www.finbuckle.com/MultiTenant (fetched 2026-08-29T11:22:32.001914+00:00, sha 4886c1ba43e5)
  - site_page: https://www.finbuckle.com/MultiTenant/Docs (fetched 2026-08-29T11:22:32.011578+00:00, sha a80915e396c8)
  - site_page: https://www.finbuckle.com/multitenant/docs/CoreConcepts (fetched 2026-08-29T11:22:32.013893+00:00, sha 60d205856816)
  - site_page: https://www.finbuckle.com/multitenant/docs/Strategies (fetched 2026-08-29T11:22:32.015752+00:00, sha 6ed1f5ceee6e)
  - site_page: https://www.finbuckle.com/multitenant/docs/Stores (fetched 2026-08-29T11:22:32.017824+00:00, sha 5eb08235d2af)
  - site_page: https://www.finbuckle.com/multitenant/docs/ConfigurationAndUsage (fetched 2026-08-29T11:22:32.019679+00:00, sha 08b8ecbe4330)
  - site_page: https://www.finbuckle.com/multitenant/docs/AspNetCore (fetched 2026-08-29T11:22:32.021485+00:00, sha bef064c21b71)
  - site_page: https://www.finbuckle.com/multitenant/docs/Options (fetched 2026-08-29T11:22:32.023637+00:00, sha f5631b92e0f8)
  - site_page: https://www.finbuckle.com/multitenant/docs/Authentication (fetched 2026-08-29T11:22:32.025691+00:00, sha 94455d4df420)
- Data as of 2026-08-30T08:39:29.467469+00:00.
