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?
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
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.
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 .
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With