-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
There was a problem hiding this 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
andNutrient-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>
examples/blazor/Nutrient-BlazorWASM/Nutrient-BlazorWASM/Components/Pages/Home.razor
Show resolved
Hide resolved
There was a problem hiding this 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!
Update blazor example to .NET 8 Blazor templates
Uses the .NET 8 Blazor template