简体   繁体   中英

How execute all requests sequentially instead of parallel in ASP.NET WebApi?

I am using WebApi 2 to implement REST service, as per by observations WebApi 2 executes all request parallel, But I want to execute all request sequentially.

Please someone can help to execute all requests sequentially instead of parallel.

Web API/REST services is stateless. So it has nothing to do with sequential or parallel execution. If you can describe/explain the problem you are trying to solve, then we can discuss.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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