ASP.Net Web API与.Net核心Web API [英] ASP.Net web api Vs .Net core web api

查看:116
本文介绍了ASP.Net Web API与.Net核心Web API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Google上探索特别是在具有.Net核心Web api的Web api版本2.0 / 2.1 / 2.2中在性能方面的差异,但是并没有找到答案。
.Net核心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. Is that .Net core Web Api is fast? Is yes how?

推荐答案

很难回答您的问题,因为快速是相对的。
但是我要说 ASP.NET Core 堆栈要比旧的 ASP.NET / WebAPI 堆栈。

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更快的原因有一些:

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


  • 它是为高性能,可扩展(云)方案而构建的

  • 不依赖于旧的 System.Web.dll

  • 更精益的执行中间件管道(Owin)

这篇关于ASP.Net Web API与.Net核心Web API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆