Is it worth pursuing .net Core Razor Pages?
5 comments
In my opinion it looks a lot more like the single-page Web Form paradigm than the MVC paradigm. Some people enjoy its convenience... Personally, I'll be happy if I never have to work on a 'code behind' page ever again.
It's just razor with new syntax, you can use it just like you've been doing with MVC with all logic in the controllers and models.
The in page stuff is optional, I assume to allow more flexibility to allow you to throw simple pages and apps together.
The in page stuff is optional, I assume to allow more flexibility to allow you to throw simple pages and apps together.
No, I really enjoy working with .NET Core but this was a mistake. I even remember the presentation everyone was silent when they announced this "feature".
IMO this is a step backwards into asp.net era where everything was mixed and you had business logic in views.
IMO this is a step backwards into asp.net era where everything was mixed and you had business logic in views.
You probably want to look up the .net sub on reddit and ask your question there. I think most .net devs use Angular on the frontend, though React/Vue are popular as well. In addition, there is an experimental frontend technology that a lot of .net devs are playing with called Blazor.
Thanks everyone!
https://docs.microsoft.com/en-us/aspnet/core/razor-pages