Replace npm/React client-side with Blazor Server in Samples.Tab#481
Draft
Copilot wants to merge 2 commits into
Draft
Replace npm/React client-side with Blazor Server in Samples.Tab#481Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Remove the Web folder containing package.json, package-lock.json, TypeScript, React, and Vite configuration. Replace with Blazor Server components to eliminate all npm dependencies and associated dependabot alerts. Agent-Logs-Url: https://github.com/microsoft/teams.net/sessions/46b3dd3f-b764-42d8-a98d-5310e0d2a88c Co-authored-by: rido-min <14916339+rido-min@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/teams.net/sessions/46b3dd3f-b764-42d8-a98d-5310e0d2a88c Co-authored-by: rido-min <14916339+rido-min@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
rido-min
May 6, 2026 13:27
View session
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.
Samples.Tab was triggering dependabot alerts for npm packages (React, Vite, TypeScript, Teams JS client SDK). Since this is a .NET repo, replace the entire client-side stack with Blazor Server to eliminate npm entirely.
Changes
Web/folder (package.json, package-lock.json, vite config, tsconfig, React/TSX sources)Program.csto wire upAddRazorComponents().AddInteractiveServerComponents()andMapRazorComponents<App>().csproj— removedGenerateEmbeddedFilesManifest,EmbeddedResourceglob, andMicrosoft.Extensions.FileProviders.Embeddedpackage referenceThe tab is still served at
/tabs/testand thepost-to-chatbot function remains unchanged.