| My Blog | https://codemindinterface.com |
| GitHub | https://github.com/bowencode |
| My Blog | https://codemindinterface.com |
| GitHub | https://github.com/bowencode |
@carlfranklin Here's one for #SecurityThisWeek . Looks like a nightmare for all involved.
New blog post on detecting how components are being rendered in #dotnet 8 #blazor and displaying it in real time on the page to help reason about what the code is doing and debug the weird issues that are sure to come up with mixed mode apps. #dotnet8
https://codemindinterface.com/2023/10/blazor-rendermode-visuals/
The New World of .NET 8 Blazor originally allowed a choice of either Server or WASM (browser client) rendering, but this was an exclusive choice which applied across an entire application. Many things behave differently depending on where they are running, but there was no ambiguity within a single app. Now that .NET 8 is beginning to support the “Blazor United” concept of mixed rendering modes within an application, including adding a third option to statically pre-render in the style of Razor Pages, different parts of your application may render in different places, and can even switch modes on the fly at runtime!
Took my frustrations and investigations into #dotnet 8 #Blazor changes and channeled it into a blog post. Hopefully this will help others understand the differences between Blazor Server, Blazor #WebAssembly, and the new Blazor Web App.
https://timpurdum.dev/2023/10/14/comparing-blazor-net-7-8.html
.NET 8, which is currently a preview Release Candidate (RC2) and will be released fully next month, brings about vast changes in the structure of Asp.NET Core Blazor projects. The goal behind these structural changes is to support, from a single project, the ability to render pages and components as static html, server-connected interactive, or WebAssembly-based client interactive. Previously, when developing a project, one would have to choose between Blazor Server and Blazor WebAssembly, and static rendering was not an option.