I have an asp.net MVC 4 controller thats methods are called via ajax.
The problem is that the ajax requests are handled sequentially by the controller. This causes performance issues as the time to load the page is the sum of all ajax requests and not the longest ajax request.
To demonstrate this, I put a break point in the first ("ReadOverview8Week") method. Each of these methods take ~600ms to execute individuality.
How can I make the controller respond to all three requests in parallel? I am using iis 8.
This is the ajax request (from kendo ui dataSource)
.DataSource(dataSource => dataSource.Ajax()
.Read(read => read.Action("ReadAllSitesOverview", "AbuseCase").Type(HttpVerbs.Get))
Thanks.