I have an ASP.NET MVC5 single page web application that uses angularjs to make ajax calls to an ASP.NET Web API 2 application, all of them being visible in the Chrome developer tools Network tab. However, Glimpse does not capture the ajax calls, neither in HUD, nor in the Ajax tab. I've added application/json
to the glimpse content types in web.config. I also added the X-Requested-With
header to my angularjs ajax calls:
$httpProvider.defaults.headers.common = { 'X-Requested-With': 'XMLHttpRequest' };
Yet the HUD keeps showing 0 ajax requests, and there is nothing in the Ajax tab. Is there anything else I should do? How can I troubleshoot this?