Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between ASP.NET Core (.NET Core) and ASP.NET Core (.NET Framework)

What is the difference between ASP.NET Core Web (.NET Core) vs ASP.NET Core Web (.NET Framework)?

and does .NET Framework provide similar performance as to .NET Core?

like image 793
Justin Homes Avatar asked Jun 07 '16 16:06

Justin Homes


People also ask

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

Net Framework is used for the development of both desktop and web applications as well as it supports windows forms and WPF applications. . NET Core is packaged and installed independently of the underlying operating system as it is cross-platform.

What is the difference between .NET Core and .NET Framework and .NET standard?

. NET Standard is an API specification that defines, for a given version, what Base Class Libraries must be implemented. . NET Core is a managed framework that is optimized for building console, cloud, ASP.NET Core, and UWP applications.

Which is better .NET Core or .NET framework?

. NET Core is better suited for cross-platform needs. . NET Core apps are supported on Windows, Linux, and macOS. Microsoft's popular open-source code editor, Visual Studio Code, is supported on Windows, Linux, and macOS.

Is ASP.NET Core same as .NET Core?

Asp.net Core is a new version of Asp.net released by Microsoft. It is an open-source used to develop a web framework and can be executed with different browsers like Windows, Mac or Linux. ASP.Net Core is a new version of asp.net. It is a free open source which can run on different OS like Mac, Windows and Linux.


1 Answers

This can be confusing at first, but it's important to remember: at the end of the day, "ASP.NET Core" is just a bunch of NuGet packages that can be installed in your project.

ASP.NET Core on .NET Core is cross-platform ASP.NET Core. It can run on Windows, Mac, and Linux (including Docker). The server doesn't need .NET Core installed - the dependencies can be bundled with the application.

ASP.NET Core on .NET Framework is ASP.NET Core on the "full" or "desktop" .NET Framework (e.g. .NET Framework 4.6.2). These applications can only run on Windows, but everything else about ASP.NET Core behaves the same way.

According to the benchmarks you linked, both will have higher performance than ASP.NET 4.6, although .NET Core is currently the highest:


ASP.NET 4.6: <50k req/sec

ASP.NET Core (CLR): 400k req/sec

ASP.NET Core (.NET Core, Linux): 900k req/sec

ASP.NET Core (.NET Core, Windows): >1.1m req/sec

However, these benchmarks are slightly older (February 2016) and reflect pre-RTM code. I wouldn't be surprised if they've improved since then.

like image 188
Nate Barbettini Avatar answered Nov 15 '22 23:11

Nate Barbettini