I am writing an Asp.Net MVC 4 app, in which, once the user logs in, they are redirected to a dashboard page where i have these 4 seperate divs on that page. 4 different database calls have to be made to fill in these divs. I was planning to use multiple Ajax calls so that the user doesnt have to wait until all the data come back , to see the page. Then I read about async controllers and now i am confused whether to use async controllers or ajax calls for my purpose.
please help !
Thanks in advance !
I am writing an Asp.Net MVC 4 app, in which, once the user logs
Share
Asynch controllers, to my mind, allow for more responsive request processing on the server by allowing it to handle mre concurrent requests in a non-blocking fashion similar to node.js. Ajax is, as noted, asychronous by default on the client/browser and this is what you need to allow the page to render without blocking.