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.
This pull request updates the Teams SDK C# documentation to focus exclusively on the minimal API approach, removing all references, code samples, and explanations related to the legacy controller-based pattern. The changes streamline the docs, making them clearer and more consistent for new users by presenting a single recommended way to build Teams apps with C#.
Key changes include:
Removal of Controller-based Examples and Tabs
<Tabs>UI have been removed from the following documentation files, leaving only minimal API examples usingapp.OnMessage,teams.OnMessage, etc. (teams.md/src/components/include/essentials/api/csharp.incl.md,teams.md/src/components/include/essentials/graph/csharp.incl.md,teams.md/src/components/include/essentials/on-activity/csharp.incl.md,teams.md/src/components/include/essentials/sending-messages/csharp.incl.md,teams.md/src/components/include/essentials/sending-messages/proactive-messaging/csharp.incl.md,teams.md/src/components/include/getting-started/code-basics/csharp.incl.md,teams.md/src/components/include/in-depth-guides/adaptive-cards/building-adaptive-cards/csharp.incl.md,teams.md/src/components/include/in-depth-guides/ai/mcp/mcp-client/csharp.incl.md) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]Updates to Getting Started and Code Basics
teams.OnMessage, removing all mention of controller classes and attributes. Project structure and code samples have been updated accordingly. [1] [2] [3]Improvements to Adaptive Card Action Handling
teams.OnAdaptiveCardAction) instead of controller attributes. The handler logic is also updated for clarity and additional action handling, with improved logging and response construction. [1] [2]General Documentation Clean-up
context.activityinstead ofactivity). [1] [2]Migration and Dependency Updates
These changes ensure the documentation is modern, easier to follow, and aligned with the current best practices for building Teams apps in C#.