ASP.NET Web Application (.NET Framework) vs ASP.NE

2019-01-21 17:43发布

问题:

Why should I choose ASP.NET Web Application (.NET Framework) instead of ASP.NET Core Web Application (.NET Framework)?

I'm talking about option 1 and 3 in the options below, what will be the difference?

I saw the following question, but I still don't understand what is the difference between option 1 and 3: Visual Studio 2015 Web Application .NET Core vs .NET Framework

回答1:

  • Option 1 - ASP.NET Web Application
  • Option 3 - ASP.NET Core Web Application

Although both project templates use Full .Net Framework, Option 1 is for creating projects using legacy version of ASP.NET MVC in which we can use Global.asax.

Option 3 is totally new concept in which wwwroot folder, using task runners and everything is through OWIN middleware.

A lot of organization and companies are not ready to jump into new project template yet. I believe Option 1 is there for backward compatibility.