I just found a strange thing in Visual Studio 2010.
I can add a Razor page to a website project, but I cannot do this in a web application project.
I know that I can create an ASP.NET MVC project (1-4) that allows me to add a Razor page to it.
After I checked the differences between the Web Site (WS) project and the Web Application (WA) project, it seems to me that WA tends to be in most cases and has more features than WS.
So my question is: Visual Studio 2010 allows us to add a Razor page to a WS project (you can find it when you add a new page to the list of templates), but why doesn't it provide a Razor page in a template in a WA project?
I'm interested. Waiting for your answers :)
Greetings
source share