Your official information source from the .NET Web Development and Tools group at Microsoft.
Adding Core References Support in an ASP.NET Empty Project
In Visual Studio 2013 we introduced the core reference framework to ASP.NET project creation. You can choose what core references you want in your to-be-created project.
Let’s take the example of adding Web API core references in anEmpty ASP.NET Project
As you can see, adding the core references will not only add the required NuGet packages but also correctly configure the app for the selected core reference.
Similarly you can add MVC and or Web Forms support in the same way. And the supported core references are not limited to empty template only. They’re supported on all six template.
This approach is a very helpful function to set up a customized ASP.NET project quickly.
I don´t understand the difference between MVC Project + WebForms Checked and WebForms Project + MVC Checked, or Empty Project with MVC and WeForms checked.
The base template comes with difference elements. MVC template use razor pages while Web Forms use tradition aspx. The additional core references add nuget packages and add necessary registry codes. Empty template doesn't have any pre-build pages.
Thank you for this article. While I now understand the HOW I'm not sure I understand the WHY? What scenario / problem is this solving? How is this an improvement over the previous version of Visual Studio / ASP.NET? Thank you!
¿And how to add folders and core references to an existent ASP.NET Project?