Repository navigation
Fix AppHost code example in EF Core migrations documentation - #126
Merged
David Pine (IEvangelist) merged 3 commits intoDec 8, 2025
Merged
David Pine (IEvangelist) merged 3 commits into
David Pine (IEvangelist) merged 3 commits into
Conversation
- Corrected the AppHost.cs code block to show proper distributed application setup - Fixed code highlighting to properly highlight the migration service configuration
ghost
requested review from
David Pine (IEvangelist) and
Eric Erhardt (eerhardt)
as code owners
December 7, 2025 13:10
Contributor
There was a problem hiding this comment.
Pull request overview
This PR corrects a critical documentation error in the EF Core migrations guide where the AppHost.cs code example was incorrectly showing Worker service setup code instead of distributed application configuration.
Key Changes:
- Replaced incorrect AppHost.cs code example with proper distributed application setup showing SQL Server, migration service, and API project configuration
- Updated syntax highlighting from
{6-21}to{7-9,13-14}to focus on migration-specific configuration - Added syntax highlighting
{6,9-10,12}to the Program.cs code block
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…grations.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
David Pine (IEvangelist)
approved these changes
Dec 7, 2025
…grations.mdx docs: correct spacing in EF Core migration example Co-authored-by: David Pine <david.pine@microsoft.com>
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.
Fixed incorrect code example in the EF Core migrations documentation that was showing Worker service setup code instead of the proper AppHost distributed application configuration.
Changes Made