Using MiniProfiler for REST APIs


#1

I wonder if there is a way to use MiniProfiler not just for pages that are viewable in a browser, but also for some backend APIs that my server is supporting as well. Given these don’t run in a browser, is there a way to have MiniProfiler output its results to disk so I can view them after-the-fact?


#2

Haven’t tried it myself (admittedly I’ve worked with it all of a day) but have you looked at Using Miniprofiler in a UI-less mode? I think this would be great for MVC 4 Web API, personally.


#3

there are 2 different answers depending on if it is Ruby or .NET, regardless you can always elect to implement your own storage and navigate it later