Re:Asp.net Core updates in .NET 8 Preview 1
by ducharmdev on Wednesday February 22, 2023 @08:41AM
(#34895268)
The load times and lighthouse score for the MUD Blazor site has put me off of Blazor entirely for anything public facing:
Standard Blazor Webassembly project setup creates a server side project and a client side one. C# code on the client side is compiled to Webassembly. You then set up your server side functions called from the client side with usual C# .NET REST functions. This is less convenient than the Blazor Server model, but it captures the actual complexity of internet networking. It's also fast. You can put a lot of (hopefully non-confidential) processing onto the client side, running locally in the user's browser using a huge array of .NET library functions including from NuGet. It really is the way to go.