docs: add brownfield integration guide for existing .NET apps#183
Open
antosubash wants to merge 3 commits into
Open
docs: add brownfield integration guide for existing .NET apps#183antosubash wants to merge 3 commits into
antosubash wants to merge 3 commits into
Conversation
Deploying simplemodule-website with
|
| Latest commit: |
2dbf327
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a2a803cc.simplemodule-website.pages.dev |
| Branch Preview URL: | https://claude-dotnet-integration-gu.simplemodule-website.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new "Brownfield Integration" page under Getting Started that walks teams with large, existing .NET applications through adopting SimpleModule incrementally.
The guide is structured around four migration phases (Coexist → First module → Cross-cutting modules → Module-first), so readers can stop at any stable end-state rather than committing to a full rewrite.
What's covered
csprojandProgram.cschanges to stand the framework up next to legacy controllers, MVC, EF Core, and existing auth — with no behavioural change.sm new module, and bridge to legacy data via an adapter before moving the schema.The guide is grounded in the actual public API surface —
builder.AddSimpleModule()/await app.UseSimpleModule(), generator analyzer reference shape,Databaseconfig section, fallbackRequireAuthenticatedUserpolicy — so the snippets are copy-pasteable.Files changed
docs/site/getting-started/brownfield-integration.md— new page (~360 lines).docs/site/.vitepress/config.ts— sidebar entry added under Getting Started.Test plan
npm run docs:dev(or local VitePress preview) — new page renders, sidebar entry appears under Getting Started./getting-started/quick-start,/guide/modules,/guide/endpoints,/guide/database,/advanced/source-generator.Program.csshape intemplate/SimpleModule.Host.Generated by Claude Code