问题
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