entityframework-dotnet-separate-tenant-db

Community

Set up isolated per-tenant databases for Jarvis EF Core apps.

Authorhoangnh2412
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the manual, error-prone work of configuring isolated per-tenant database access for multi-tenant ASP.NET Core applications built with the Jarvis framework, removing the need to manually wire up dependency injection and dynamic connection string routing for each tenant's dedicated database.

Core Features & Use Cases

  • Master DbContext Registration: Sets up a master database to store tenant identifiers and their unique connection strings for centralized metadata management.
  • Per-Tenant DbContext Configuration: Registers a dedicated App DbContext with a DbTenantConnectionStringResolver to automatically route requests to the correct tenant's isolated database.
  • Background Job Support: Provides guidance for switching DbContext instances per tenant in background jobs to ensure data isolation during asynchronous operations.
  • Use Case: Ideal for SaaS products built with Jarvis that require strict data separation between tenants, such as multi-tenant e-commerce or SaaS management platforms.

Quick Start

Use the entityframework-dotnet-separate-tenant-db skill to configure master and per-tenant DbContext registrations for your Jarvis multi-tenant application with isolated tenant databases.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: entityframework-dotnet-separate-tenant-db
Download link: https://github.com/hoangnh2412/jarvis/archive/main.zip#entityframework-dotnet-separate-tenant-db

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.