
flow
flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.
它为.NET 10提供了一个完整、生产就绪的多租户解决方案,包括租户感知的JWT、三层缓存和每租户断路器,并附有详细的设计文档和经过验证的端到端流程。
A Database-per-Tenant multi-tenancy building block for .NET 10: dynamic per-tenant connection resolution, JWT authentication with tenant-claim cross-checking, a three-layer tenant metadata cache, plan-based feature flags/quotas, per-tenant resilience (timeout + circuit breaker), and a migration tool with per-tenant failure isolation.
See docs/SDD.md for the full design rationale.
src/BuildingBlocks/BuildingBlocks.MultiTenancy/ Reusable multi-tenancy plumbing (no DB dependency)
src/Services/Catalog.Admin/ Central catalog: Plan/Tenant/PlanFeature/PlanQuota + EF store
src/Services/SaaS.CoreEngine.Api/ The tenant-facing API (billing domain demo: Customer/Product/Invoice)
src/Tools/Tools.DbMigrator/ Sweeps active tenants and applies pending migrations
tests/BuildingBlocks.MultiTenancy.UnitTests/ Pure unit tests, no Docker required
tests/SaaS.CoreEngine.IntegrationTests/ Testcontainers-backed integration tests (require Docker)
docker/postgres-tenants/init/ First-boot script creating the demo tenant databases
docker-compose.yml Local dev stack: postgres-central, postgres-tenants, redis, api
docker compose and for the Testcontainers-backed
integration tests)dotnet-ef global tool (dotnet tool install --global dotnet-ef), matching
the EF Core version pinned in Directory.Packages.propsThis is the exact sequence that was run and verified end-to-end for this
repository. It runs the API and Tools.DbMigrator on the host via
dotnet run, with Postgres and Redis provided by docker-compose — not
the containerized api service (see "Known limitation" below).
# 1. Copy the environment template (edit if you need non-default ports/credentials)
Copy-Item .env.example .env
# 2. Start Postgres (catalog + tenants cluster) and Redis
docker compose up -d postgres-central postgres-tenants redis
# 3. Wait for all three to report healthy
docker compose ps
# 4. Apply the catalog migration
$env:DOTNET_CATALOG_CONNECTION = "Host=localhost;Port=5433;Database=saas_catalog;Username=postgres;Password=postgres"
dotnet ef database update --project src/Se
Database-per-Tenant multi-tenancy engine for .NET 10 — dynamic per-tenant connection resolution, JWT auth with tenant-claim cross-checking, plan-based feature flags/quotas, per-tenant resilience (circuit breaker + bulkhead), and a zero-downtime migration tool.
根据分类、Topic 和编程语言匹配的相似项目。

flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.
Recensa is a self-hosted web viewer that indexes Claude Code session transcripts into a local SQLite database, enabling full-text search, replay, and audit of all past agent conversations without uploading data anywhere.
OpenClaude is an open-source CLI coding agent that runs on any platform and supports a wide range of LLM providers, offering the same tools and workflows as Claude Code.