Skip to content

Commit affa69f

Browse files
committed
feat: Add Multitenancy module with tenant management and database orchestration
- Introduced Multitenancy module for managing tenants, configurations, and migrations. - Implemented tenant health checks and endpoints for CRUD operations. - Added documentation for module responsibilities, architecture, and usage. docs: Create guide for using the framework in .NET 10 Web API - Provided detailed instructions on project references, Mediator configuration, and module registration. - Included steps for setting up the HTTP pipeline and application settings. - Explained how to add custom modules and adhere to coding standards. feat: Design spec for Eventing building block - Defined goals and non-goals for the Eventing building block. - Established conceptual model differentiating domain events from integration events. - Outlined abstractions for event handling, including IIntegrationEvent, IEventBus, and IEventSerializer. - Implemented Outbox and Inbox patterns for reliable event processing. - Integrated eventing with Identity module for user registration events.
1 parent 776604a commit affa69f

11 files changed

Lines changed: 3801 additions & 2 deletions

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,5 +485,4 @@ $RECYCLE.BIN/
485485

486486
# Vim temporary swap files
487487
*.swp
488-
/.bmad
489-
/docs
488+
/.bmad

docs/framework/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# FSH Framework Documentation Index
2+
3+
This folder contains framework-level documentation for the fullstackhero .NET 10 starter kit.
4+
5+
Use these documents as the primary reference for both human developers and AI agents when working in this repo.
6+
7+
## Overview
8+
9+
- `architecture.md`
10+
High-level architecture of the framework: BuildingBlocks, Modules, Playground, cross-cutting concerns (auth, persistence, DDD, mediator, validation, exceptions, multitenancy, health, OpenTelemetry, rate limiting, versioning, etc.).
11+
12+
- `building-blocks.md`
13+
Detailed description of the BuildingBlocks projects:
14+
- Core, Persistence, Caching, Mailing, Jobs, Storage, Web.
15+
- How they are meant to be used by modules and hosts.
16+
17+
- `module-identity.md`
18+
Identity module deep dive:
19+
- Endpoints, token generation/refresh, ASP.NET Identity integration.
20+
- Persistence model (`FshUser`, `IdentityDbContext`), permissions, auditing, metrics.
21+
22+
- `module-auditing.md`
23+
Auditing module deep dive:
24+
- `IAuditClient`, `ISecurityAudit`, audit envelopes and payloads.
25+
- Audit querying endpoints, persistence, and integration with exceptions and security events.
26+
27+
- `module-multitenancy.md`
28+
Multitenancy module deep dive:
29+
- Tenant model, Finbuckle integration, migrations, health checks.
30+
- Tenant APIs (status, migrations, upgrade, activation).
31+
32+
- `using-framework-in-your-api.md`
33+
How to consume the framework in any .NET 10 Web API:
34+
- Using `FSH.Playground.Api` as a reference.
35+
- Wiring modules, BuildingBlocks, configuration, and Aspire/AppHost.
36+
37+
- `developer-cookbook.md`
38+
Practical recipes for developers and AI agents:
39+
- Add endpoints, modules, DbContexts, jobs.
40+
- Use specifications, mailing, storage, observability.
41+
- Guidance on patterns to follow and anti-patterns to avoid.
42+
43+
- `contribution-guidelines.md`
44+
Contributor and coding guidelines:
45+
- Folder and project layout.
46+
- When to add modules vs. features.
47+
- Patterns to follow (Minimal APIs, Mediator, FluentValidation, DDD, specifications).
48+
- Security, multitenancy, and cross-cutting concerns expectations.
49+
- AI-agent specific do’s and don’ts.

0 commit comments

Comments
 (0)