I have a single-page ASP.NET MVC5 web application that uses angularjs to create ajax calls to an ASP.NET Web API 2 application, all of which are visible on the Chrome Developer Tools tab. However, Glimpse does not capture ajax calls, neither in the HUD, nor in the Ajax tab. I added application/jsonto view content types in web.config. I also added a header X-Requested-Withto my ajax calls for angularjs:
$httpProvider.defaults.headers.common = { 'X-Requested-With': 'XMLHttpRequest' };
However, the HUD continues to show 0 ajax requests, and there is nothing on the Ajax tab. Is there anything else I should do? How to fix this problem?
source
share