Last post Mar 25, 2019 05:29 AM by Xing Zou
Mar 24, 2019 11:49 AM|Test1233@|LINK
After studying asp.net core for a while, Here are the conclusions that I could come of:
But few of my friends have misconception regarding the above points. They say it is fast because the razor views are also bundled and minified in the new core projects inside of wwwroot and for it being cross platform, there are separate dlls created by
our solution for windows and linux environment which makes it cross-platform. So can anyone here help me in telling the true reasons for asp.net core being fast and cross-platform?
Mar 24, 2019 12:48 PM|mgebhard|LINK
So can anyone here help me in telling the true reasons for asp.net core being fast and cross-platform?
Simply it is designed to be fast and cross platform and the enhancements continue with each release. While your points are correct for ASP.NET Core there is much more that goes into .NET Core performance enhancements.
ASP.NET Core 2.2 enhancements.
Mar 24, 2019 09:07 PM|bruce (sqlwork.com)|LINK
1). asp.net its faster because it was designed to be faster, via the new pipeline which followed the design of node.js non-blocking async pipeline (originally it used the node pipeline, but eventually created its own). This pipeline requires all i/o and
network traffic to be async or performance suffers greatly. (never use sync i/o, database or network calls)
also the concept of app-domains was removed to simply and reduce complexity. this means no cross app-domain marshaling is required.
2). it was designed to cross platform. to support this, a new program dotnet.exe was created that loads .net dlls and executes the code via its own vm engine. this is similar to java or mono. only the dotnet.exe needs to be ported to a new o/s. to compile
on a new platform the roslyn compilers (written in c/c++) most also be ported. In practice, .net core can run on any platform that the roslyn compilers have already been ported to.
Mar 25, 2019 05:29 AM|Xing Zou|LINK
It is fast due to its high performance: asynchronous patterns,Minify client assets ... you could refer to ASP.NET Core Performance
Best Practices. Everything is modular nowadays. And you could add individual NuGet packages for all your needs.
Besides, ASP.NET Core, the biggest characteristics is the sublation of "System. Web. dll". The.net Framework's largest components, less of course "System. Web.dll", The "WebForm" will not be transplanted into ASP.NET Core. So the ASP.NET Core faster.
ASP.NET Core supports cross-platform since .NET Core enables cross-platform.Kestrel is just a server implemented by .NET Core.
For more details, refer to:
Why you should learn ASP.NET Core