Is there any guidance about how to incorporate MiniProfiler into a SPA application, all documentation so far only shows usage with MVC.
The reason I ask is that we started a year ago with the very first Angular template then changed some aspects of the code, in particular default.cshtml became index.htm. My hunch is that if I bring our code base up to the current ServiceStack Angular template layout, I might then be able to easily add in the profiler on the server-side rendering of the default page, from there everything should then be bootstrapped and all ajax calls should render.
But this only logs a snapshot of un-viewed profile responses, you’ll need to refresh the page to view the results of the other ajax calls since. But one strategy is to open a custom page with the profiler enabled then refresh that page to see the results of the new ajax calls from other pages.
@stephenpatten Dear god thank you. I’ve been banging my head on this guy’s post, which seems woefully incomplete. I’ll take it with a major grain of salt, but your $httpProvider config seems to work out of the box!