A
A
Artouiros2022-02-02 11:50:22
ASP.NET
Artouiros, 2022-02-02 11:50:22

Should I use ASP.NET Core MVC or use restful + SPA framework (blazor)?

It is necessary to implement a web application of medium complexity. In one person (mine) Should I use ASP.NET Core MVC (or Razor Pages) or go by splitting the project into rest api + frontend on the spa engine? (I want to go to blazor) But with blazor the blazor server model is not completely clear, if everything is clear with blazor wasm, then blazor server is not the same razor pages? what is the salt of blazor server if everything is generated again by the server?

How reasonable is it in principle to use the MVC model in 2022? Or is it all archaisms from 2005?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2022-02-02
@werwolflg

Blazor Server is not the same as Razor Pages, although it uses Razor. When using Blazor Server, all events are processed on the server, so you need to have a good internet connection for it to work properly. Well, plus, depending on how many simultaneously working clients will also matter. Perhaps it would be better to use the Blazor Server + Blazor WASM bundle. The beauty of Blazor Server is that it sends only the changed parts of the DOM to the client, not the entire page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question