简体   繁体   English

ASP.Net web api Vs .Net核心web api

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

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. 我正在google上探讨在web api版本2.0 / 2.1 / 2.2与.Net核心web api的性能观点方面的差异,但是没有得到点答案。 Is that .Net core Web Api is fast? 是.Net核心Web Api快吗? Is yes how? 是的如何?

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. 但我会说ASP.NET Core堆栈比旧的ASP.NET / WebAPI堆栈更快。

There are some reason why ASP.NET Core is faster: ASP.NET Core更快的原因有多种:

  • It was build for high performance, scalable (cloud) scenarios 它是为高性能,可扩展(云)方案构建的
  • No dependency to the old System.Web.dll 不依赖于旧的System.Web.dll
  • Much leaner execution middleware pipeline (Owin) 更精简的执行中间件管道(Owin)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM