6 points · by tones411 · 8y ago · 5 comments
https://docs.microsoft.com/en-us/aspnet/core/razor-pages
The in page stuff is optional, I assume to allow more flexibility to allow you to throw simple pages and apps together.
IMO this is a step backwards into asp.net era where everything was mixed and you had business logic in views.