Skip to content

Update blazor example to .NET 8 Blazor templates #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 1, 2025

Conversation

Take-A-Byte
Copy link
Contributor

Uses the .NET 8 Blazor template

@Take-A-Byte Take-A-Byte self-assigned this Jun 30, 2025
@Take-A-Byte Take-A-Byte requested review from Copilot and a team June 30, 2025 10:36
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Blazor examples to use the new .NET 8 interactive Razor Components templates.

  • Removes the legacy .NET 6 Blazor WASM and Server example folders.
  • Adds new Nutrient-BlazorWASM and Nutrient-BlazorServer projects targeting .NET 8 with interactive server & WebAssembly render modes.

Reviewed Changes

Copilot reviewed 62 out of 74 changed files in this pull request and generated 1 comment.

File Pattern Description
examples/blazor/wasm/** Removed old .NET 6 Blazor WASM sample files
examples/blazor/server/** Removed old .NET 6 Blazor Server sample files
examples/blazor/Nutrient-BlazorWASM/** Added new .NET 8 interactive Razor Components WASM template
examples/blazor/Nutrient-BlazorServer/** Added new .NET 8 interactive Razor Components Server template
Comments suppressed due to low confidence (1)

examples/blazor/Nutrient-BlazorWASM/Nutrient-BlazorWASM/Components/App.razor:17

  • The src attribute is missing an opening quote before the URL, causing malformed markup. Change it to <script src="nutrient-viewer.js"></script>.
    <script src=nutrient-viewer.js"></script>

Copy link
Contributor

@miguelcalderon miguelcalderon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for the update!

However, it was not clear to me from where I should start running with dotnet watch run, can it be made clear in the README.md file, please? Thanks!

@Take-A-Byte Take-A-Byte merged commit 0b1d3b7 into main Jul 1, 2025
3 checks passed
@Take-A-Byte Take-A-Byte deleted the shan/update-blazor-example branch July 1, 2025 09:24
miguelcalderon pushed a commit that referenced this pull request Jul 28, 2025
Update blazor example to .NET 8 Blazor templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants