Skip to content

Put MapMcp in Microsoft.AspNetCore.Builder namespace#171

Merged
stephentoub merged 2 commits intomodelcontextprotocol:mainfrom
halter73:fix-namespace
Mar 31, 2025
Merged

Put MapMcp in Microsoft.AspNetCore.Builder namespace#171
stephentoub merged 2 commits intomodelcontextprotocol:mainfrom
halter73:fix-namespace

Conversation

@halter73
Copy link
Copy Markdown
Contributor

@halter73 halter73 commented Mar 31, 2025

This was an oversight where I blindly went with VS defaults. Much like DI's Add* extension methods belonging in Microsoft.Extensions.DependencyInjection, we conventionally put all Map* extension methods like MapGet, MapControllerRoute, MapHub, MapOpenApi, etc... in the Microsoft.AspNetCore.Builder namespace that's likely to already be in an implicit or explicit using.

@halter73 halter73 changed the title Put MapMcp in icrosoft.AspNetCore.Builder namespace Put MapMcp in Microsoft.AspNetCore.Builder namespace Mar 31, 2025
@stephentoub stephentoub merged commit 57a526e into modelcontextprotocol:main Mar 31, 2025
8 checks passed
@jeffhandley jeffhandley added the breaking-change This issue or PR introduces a breaking change label Feb 20, 2026
@jeffhandley
Copy link
Copy Markdown
Contributor

Adding the breaking-change label retroactively during release notes revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change This issue or PR introduces a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants