Blazor WASM components in Razorpages #26421
-
I have a existing application using Razorpages. I found possibilities to integrate server-rendered/server-prerendered Razor components, but I would like to use some client-side Razor components in my application. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Yes, this is something we've added as a built-in feature with .NET 5 😄 Please see https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-5-release-candidate-1/#blazor-webassembly-prerendering. Note that instead of |
Beta Was this translation helpful? Give feedback.
Yes, this is something we've added as a built-in feature with .NET 5 😄
Please see https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-5-release-candidate-1/#blazor-webassembly-prerendering. Note that instead of
render-mode="WebAssemblyPrerendered"
, you can userender-mode="WebAssembly"
if you just need the component to execute on WebAssembly without being prerendered.