Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between ASP.NET Web Application (.NET Framework) vs ASP.NET Core Web Application (.NET Framework)

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

I'm talking about options 1 and 3 in the options below, what will be the difference? enter image description here

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

like image 252
Tomer Peled Avatar asked Mar 22 '17 17:03

Tomer Peled


People also ask

What is the difference between ASP.NET Core and .NET framework?

NET Framework to create Windows desktop and server-based applications. This includes ASP.NET web applications. On the other hand, . NET Core is used to create server applications that run on Windows, Linux and Mac.

What is the difference between ASP.NET web API and ASP.NET Core web API?

In ASP.NET Core, there's no longer any distinction between MVC and Web APIs. There's only ASP.NET MVC, which includes support for view-based scenarios, API endpoints, and Razor Pages (and other variations like health checks and SignalR). In addition to being consistent and unified within ASP.NET Core, APIs built in .


1 Answers

  • 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.

enter image description here

like image 103
Win Avatar answered Oct 12 '22 10:10

Win