ASP.NET Core - The future of Microsoft's Web platform

den 22 januari 2017

In June 2016, Microsoft released asp.net core 1.0, the biggest revision of their framework for web development since 2002 - the year when Microsoft went from classic ASP and VBScript to asp.net and C# and Visual Basic dot net.

asp.net core is a completely rewritten framework, but it still uses C# and .net runtime - Visual Basic will probably not be supported anymore. The rewrite was necessary as the framework had problems with:

  • Poor Performance
  • Not portable to other operating systems such as Mac and Linux
  • Worked exclusively with the web server IIS, if it is to be portable so it must work with other Web servers, such as nginx and appache

Performance problems in old asp.net

Performance problems in old asp.net

The performance of the old framework was too low compared with the competing frameworks. C# and the .NET runtime was not the performance bottleneck,the problem was the asp.net framework's architecture. The rewrite of the asp.net to the new core asp.net 1.0 version improved performance; below is an old picture showing how performance improvements during the development period; from about 40,000 request / second to over 1.1 million request / second. The latest figures is 6 million request / sec, ie 150 times faster!

 

Today asp.net core performance has caught up with its competitors and sometimes even surpassed them. Below is a specific testcase the performance of web-frameworks.
https://www.techempower.com/benchmarks/#section=data-r13&hw=ph&test=plaintext

 

In the above chart asp.net core is placed at 10. However, one should bear in mind that the fastest frameworks are likely to be niche framework for special areas on the web development. Comparing asp.net core with other popular frameworks in the market, you get these figures:

NamnPrestanda
asp.net Core48.9%
django2.3%
php1.2%
Ruby On Rail26.6%
Spring (Java)3.5%
Node.js12.5%