Answered by:
Which is Better ASP.Net Core Blazor or ASP.net core mvc

Question
-
User2041008840 posted
I develop so many web app on asp.net core mvc. the mvc model is so robust to develop any website or web app or any SaaS product.
Today I checked the blazor, they introduce it and they create it as page, components based solution like angular. microsoft also remove the javascript code and replace it with C# code.the thing that save so much time is Creating a CRUD Operation Automatically in MVC just in 3 clicks. The best part of MVC
all those views all aligned and designed based on bootstrap, controller will be created based on Model. No need to go to SSMS to create database Just write code in c# by defining class.
I am really confuse about it, which platform will be better for future web apps ?
Should I move to Blazor or stick to asp.net core mvc.any suggestions
Tuesday, October 29, 2019 7:39 AM
Answers
-
User-821857111 posted
Blazor is for Single Page Applications - web applications that run in the browser. MVC (or better still, Razor Pages) is for server-side HTML generation. They perform different roles for different requirements. Blazor is not intended as a replacement for MVC or Razor Pages. It is intended to provide a solution for C# programmers who want to produce Angular/React style applications, but don't want to have to learn a lot of new tools.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, October 29, 2019 7:49 AM -
User765422875 posted
ASP.NET Core MVC is a mature technology stack compared to ASP.NET Core Blazor. Then there is Blazor WebAssembly which is still in preview.
Better is probably not the correct way of thinking about this. Its a subjective decision based on various factors. What I like about Blazor is you can use C# instead of JavaScript.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, October 29, 2019 7:06 PM
All replies
-
User-821857111 posted
Blazor is for Single Page Applications - web applications that run in the browser. MVC (or better still, Razor Pages) is for server-side HTML generation. They perform different roles for different requirements. Blazor is not intended as a replacement for MVC or Razor Pages. It is intended to provide a solution for C# programmers who want to produce Angular/React style applications, but don't want to have to learn a lot of new tools.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, October 29, 2019 7:49 AM -
User-1780421697 posted
ASP.NET Web Forms, ASP.Net MVC, ASP.NET MVC Core
They are server side scripting languages that used for multiple page application.ASP.Net Blazor can be a replacement of Single Page Application and it is much like Angular, React , Vue app in behavior as all framework are used for Single Page Applications.
Which is better? 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.
Tuesday, October 29, 2019 12:47 PM -
User765422875 posted
ASP.NET Core MVC is a mature technology stack compared to ASP.NET Core Blazor. Then there is Blazor WebAssembly which is still in preview.
Better is probably not the correct way of thinking about this. Its a subjective decision based on various factors. What I like about Blazor is you can use C# instead of JavaScript.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, October 29, 2019 7:06 PM -
User2041008840 posted
Yes. That's Best thing C# instead of javascript
Wednesday, October 30, 2019 4:14 AM -
User765422875 posted
Well then, that may be the deciding factor for you to select Blazor instead of ASP.NET Core MVC for your next project. Do a POC and see how you feel about it.
Wednesday, October 30, 2019 2:23 PM