How to make ASP.NET MVC Controller Methods Async

后端 未结 3 591
别那么骄傲
别那么骄傲 2021-01-14 22:09

I\'m launching multiple ajax calls to various MVC controllers to load different parts of my page. However it seems that when this gets to the controller only one runs at a t

3条回答
  •  旧巷少年郎
    2021-01-14 22:46

    mvc controllers are async in nature, how did you determine it's synchronous? The only reason could only be some lock implemented within your userService.

    You can try by making a couple of hundreds of ajax calls to your web services using jquery

提交回复
热议问题