Marcus Wong
Marcus Wong

Reputation: 391

What is the purpose/usage of ASP.NET Web Application Core(.NET framework)?

I can find similar questions, but those answer is not clear or no answer (all answered now) that make me confuse .

Similar questions 1

Similar questions 2

Now Visual Studio has 3 Web Project template :

ASP.NET Web Application (.NET Framework)   <-- old
ASP.NET Core Web Application (.NET Core) <-- new
ASP.NET Core Web Application (.NET Framework)  <-- new

I know the different between .NET Core and .NET Framework.

.Net Core - can cross platform(Windows, OS X, Linux)

.NET Framework - Windows Only

Then, the problem:

If we can use .Net Core in cross platform include Windows, Why there still need ASP.NET Core Web Application(.NET Framework)(new) ?

If only work on Windows , Why don't just use ASP.NET Web Application (.NET Framework)(old)? which much mature and more support.

What is the purpose/usage of ASP.NET Core Web Application (.NET Framework)(new)??

Upvotes: 1

Views: 586

Answers (1)

Pawel
Pawel

Reputation: 31610

.NET Core does not have all the APIs available in .NET Framework. As a result when running on Windows you may want to target full .NET Framework instead of .NET Core in your Asp.NET Core application.

Asp.NET 4.x is still supported and it's perfectly fine to create new applications using Asp.NET 4.x. However, the vast majority of innovation goes to Asp.NET Core. Asp.NET Core is also open source so you can actually see the code you are running, debug the code you are running and even contribute back your fixes or new features. Finally, Asp.NET Core is also much more lightweight (everything is a NuGet package and you only include what you need, not coupled to IIS - runs out-of-proces when using IIS) and much faster than ASP.NET.

Upvotes: 3

Related Questions