I was looking at Microsoft's documentation for ASP.Net Core.
I saw these 2 examples.
Example 1: ASP.NET Core 2.2 MVC using Razor View
Tutorial: Get started with EF Core in an ASP.NET MVC web app
https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro?view=aspnetcore-3.1
Example 2: ASP.NET Core 3.0 Razor Pages
Razor Pages with Entity Framework Core in ASP.NET Core - Tutorial 1 of 8
https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-3.1&tabs=visual-studio
On the code download for Example 1, the ASP.NET Core MVC example, the project is a ASP.NET Core 2.2 project.
On the code download for Example 2, the ASP.NET Core Razor Pages example, the project is a ASP.NET Core 3.0 project.
Is Microsoft shifting away from ASP.NET Core MVC Razor Views to ASP.NET Core Razor Pages ?
Anyone know ?
What I mean is, for a new project, Visual Studio 2019 gives you 2 choices , either ASP.NET Core MVC or ASP.NET Core Razor Pages.
Is it just a preference ? I read a little and I read Razor Pages simplifies the application structure over ASP.NET Core MVC structure.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.