Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

ASP.NET 5 targeting dnx451/dnx46 Performance

$
0
0

With ASP.NET 5 everything is suppose to be opt in based, the app loads opted libraries only which is amazing. Older ASP.NET functionality was encapsulated in System.Web namespace, which had everything you could possibly need to build an ASP.NET application. There was a real cost to stuffing all those unused libraries in memory, so ASP.NET 5 approach is to opt in for what you need and not lug around large libraries of unused code.

My Questions:

  1. Is this opt in approach and performance improvements only available for ASP.NET 5 targeting .NET CORE? or does ASP.NET 5 targeting the full framework on Windows get all these nice features?

  2. When targeting dnx451 or dnx46, are they still dependent on System.web and are all unused libraries still loaded into memory like older versions of ASP.NET?

  3. ASP.NET 5 supposedly takes around 2kb memory per request while older version of ASP.NET took up to 30kb per request. Is this great performance enhancement only possible when targeting dnxcore50? or is this the case also for dnx451/dnx46?

  4. When running ASP.NET 5 dnx46 on IIS 7.5+, is System.web still not loaded? (Not sure, but I think IIS and System.web are integrated, correct me if I am wrong).

  5. Lastly, what is the difference between an ASP.NET 4.6 app and an app running on ASP.NET 5 (dnx46)? what improvements does the latter hold over the other?

Someone PLEASE clarify this for me? I can't seem to find a clear answer to these questions.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>