5 Differences between Blazor Server and Blazor WebAssembly
Vložit
- čas přidán 24. 06. 2024
- Blazor Server and Blazor WebAssembly share many similarities but also have significant differences.
In this video, I will share five differences that impact deciding whether to use Blazor Server or Blazor WebAssembly for your next project.
00:00 Introduction
01:05 Project Structure
02:29 API vs. No-Api
03:26 Scaleability vs. Simplicity
05:07 Object References in Services
06:28 First Load Performance
07:33 Bonus: The Most Important Similarity
08:25 Lessons Learned & Conclusion
🔥 C#/.NET Bootcamp: The Fundamentals & more (Code FRIENDS10 for 10% OFF)*
claudiobernasconi.ch/dotnet-c...
📌 .NET Developer Roadmap
claudiobernasconi.ch/learn-do...
📌 CZcams Playlists:
The FREE Blazor Crash Course: • The FREE Blazor Crash ...
C# Programming: • How to Create Modern C...
✅ SUBSCRIBE FOR MORE VIDEOS
Subscribe: 🔔 claudiobernasconi.ch/Subscribe
🚀 CONNECT & SUPPORT
Twitter: / chbernasconic
Blog: claudiobernasconi.ch
Newsletter: claudiobernasconi.ch/newsletter
* Affiliate Link: I earn a small commission at no additional cost - Věda a technologie
What is your reason for choosing Blazor Server or Blazor WebAssembly? 🤔
Hi. I am new to blazor and I think .NET 8 blazor gives so many options. I think about combining Blazor Server with Web API (written in clean architecture), everything works on server and I think that the architecture is so simply: only one project for Blazor and then fetch data from API project controllers.
how can we disabled or remove this error message (Could not reconnect to the server. Reload the page to restore functionality.) server app?
You should prevent this error from happening. When this error shows up, your application stops working and cannot be used anymore. I don't know if you can stop the message from appearing, but I can tell you that it most likely is not what you want to do.
what about blazor render for first page for webassembly?
I don't get the question. In the future, Blazor United will allow you to use server-side rendering for Blazor web apps. Right now, when you use WebAssembly, it will always download the whole app before running it, as far as I understand.
@@ClaudioBernasconithere is an Option to Render a Part of webassemby while it Download, i think there is a Video in CZcams, to
is the biggest similarity between 2 that your whole page does not refresh like old fashioned full page server trip. i am new so plesse advise if iam correct.
Both, Blazor Server and Blazor WebAssembly provide a single-page experience where the page does not require a full page reload to rerender parts of the application. With .NET 8, you also have static server content as the third option. WebAssembly fully renders on the client and does not require ASP.NET Core on the server.
@@ClaudioBernasconi thanks. is there any 3rd party grid which can do in-column editing like a desktop app.