ASP.Net web api Vs .Net core web api [closed]

旧城冷巷雨未停 提交于 2020-01-21 11:20:29

问题


I am exploring on google the differences specially in terms of performance point of view in web api version 2.0/2.1/2.2 with .Net core web api, but did'nt get to the point answer. Is that .Net core Web Api is fast? Is yes how?


回答1:


It is very difficult to answer your question, because fast is relative. But I would say that the ASP.NET Core stack is faster than the old ASP.NET / WebAPI stack.

There are some reason why ASP.NET Core is faster:

  • It was build for high performance, scalable (cloud) scenarios
  • No dependency to the old System.Web.dll
  • Much leaner execution middleware pipeline (Owin)


来源:https://stackoverflow.com/questions/48258090/asp-net-web-api-vs-net-core-web-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!