# Orbit Modular Monolith Engineering Guides & Runnable .NET 11 Labs

> Six implementation-backed walkthroughs and runnable PostgreSQL 18 labs covering bounded contexts, FOR UPDATE concurrency, Channels topic pub/sub, Outbox/Inbox idempotency, schema boundary testing, and agentic software factories.

Canonical: https://modularmonolith.com/guides/

## Guides
- [Designing Bounded Contexts and Schema-per-Module Ownership](https://modularmonolith.com/guides/module-boundaries/) (Walkthrough): Split a .NET 11 application into five isolated bounded contexts, each owning an exclusive PostgreSQL 18 schema with zero shared tables.
- [Preventing Overselling with FOR UPDATE Locks and Outbox Atomicity](https://modularmonolith.com/guides/contended-stock-reservation/) (Lab): Race five concurrent buyers for one scarce SKU in PostgreSQL 18 using deterministic FOR UPDATE row locks, xmin tokens, and atomic outbox commits.
- [Choosing Synchronous PublicApi Calls vs. Integration Events](https://modularmonolith.com/guides/module-communication/) (Walkthrough): Decide when a .NET module needs an immediate in-process PublicApi read versus an asynchronous integration event over the Outbox and EventBus.
- [Topic-Routed Channels Service Bus with Outbox and Inbox](https://modularmonolith.com/guides/channels-outbox-idempotency/) (Lab): Build an in-memory .NET 11 pub/sub bus on System.Threading.Channels with O(1) topic routing, sub-10ms outbox wakeup, and idempotent inbox replay.
- [Enforcing Module and SQL Schema Boundaries in CI](https://modularmonolith.com/guides/test-module-boundaries/) (Lab): Catch illegal cross-module references, public schema leaks, and cross-schema Dapper SQL queries in 5 seconds with 49 .NET architecture tests.
- [Building an Agentic Software Factory with Skills and OpenTelemetry](https://modularmonolith.com/guides/agentic-software-factory/) (Lab): Pair AGENTS.md, 8 composable SKILL.md workflows, 59 verification gates, and local Aspire OpenTelemetry traces so AI coding agents ship safely.

## Case Studies
- [When Does Extracting a Module Into a Microservice Earn Its Cost?](https://modularmonolith.com/case-studies/module-extraction/)
