.NET Core Opinion 14 - Razor Pages for HTML, Controllers for APIs

added by DotNetKicks
9/12/2019 4:29:19 PM

2 Kicks, 176 Views

NET Core opinions are returning from a summer holiday in time to brave the melancholia of autumn. ASP.NET Core 2.0 introduced Razor Pages, which I believe are superior to the MVC framework when building HTML applications with .NET Core. Razor Pages encourage a separation of concerns in presentation layer logic, just as the MVC framework does.