Skip to main content
在 Manus 中运行任何 Skill
一键导入

orleans-multiservice-pattern

星标7
分支0
更新时间2026年4月21日 08:38

Modular-monolith pattern for Microsoft Orleans 10 — host multiple **logical services** inside one physical silo/microservice, with project/namespace/dependency rules that let any logical service later be extracted to its own physical microservice with minimal changes. Use when starting a new Orleans 10 backend for a single team, when deferring real microservices until genuinely needed (MonolithFirst), when organizing a codebase to follow Conway's Law, or when you want painless future migration from in-silo grain calls to generated OpenAPI HTTP clients. Scaffolds `Apis.<S>Api`, `Contracts.<S>Contract`, and `<S>Service` projects with strict dependency directions (Apis→Contracts, Apis→Service, Service→Contracts), plus a silo host. Generated by the `mcs-orleans-multiservice` template; add more logical services via `AddLogicalService.ps1 <name>` or `--Multiservice .`.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly