On our site we found that when user awaits for page loading, try of opening another page will stuck until the first one will load.
For imitation we created a test page with a button, click on which performs two simultaneous AJAX calls using XMLHttpRequest. Running it multiple times and analysing the process give us a clue — MVC performs one call after another, but not same time.
I always thought wrong or it's just question of an incorrect configuration?
MVC5 and different versions of IIS.
Update: turned testing action into async as show below:
public virtual async Task<JsonResult> Test3()
{
await Task.Run( () => System.Threading.Thread.Sleep(6000));
return Json(new { success = true });
}
Situation is the same (and looks like T4MVC not works with async actions).