Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Which is better asp net core blazor or asp.net core angular?


Asked by Anika Beil on Nov 29, 2021 ASP.NET



It depends on what you want to achieve, do you want Single Page Application or Multi Page Application, you can say that Asp.Net Core Blazore VS Angular that will be a good question. Web assembly base version of Blazor is still in preview and hopefully will be released in MAY 2020, Server side version of Blazor is shipped with Dot Net Core 3.
Thereof,
Blazor Server provides support for hosting Razor components on the server in an ASP.NET Core app. UI updates are handled over a SignalR connection. The runtime stays on the server and handles: Executing the app's C# code.
In respect to this, 1 So ASP.NET Core Hosted Blazer App is somehow similar with Angular App , less Bandwidth Use, Offline Support , No Server Side Code Dependency , and use of web assembly instead of JavaScript – Tanwer Nov 16 '18 at 5:56
In addition,
Overall Blazor is “lighter” than Angular in this regard. It also builds on established Microsoft technologies, so if your team is familiar with ASP.NET routing and writing markup using Razor, much of Blazor’s functionality will come naturally to them.
Also Know,
In an MVC app, the UI logic tends to go in the controller where you interact with your application and databases, ultimately retrieving data to send back via a view. With ASP.NET Core, Microsoft introduced another option. Razor Pages did away with Views and Controllers, replacing them instead with individual pages.