Ted
Ted

Reputation: 20184

ServiceStack: How to enable and view built-in profiler in self-hosted?

When I read the docs on ServiceStacks built-in profiling, I am not sure how to enable it in a self-hosted solution:

Then starting it in your Global.asax, here’s how to enable it for local requests:

Global.asax doesn't exist for self-hosted, and I'm not sure where to enable it, or where to view the profiling results.

Upvotes: 1

Views: 70

Answers (1)

mythz
mythz

Reputation: 143359

The MiniProfiler is dependent on ASP.NET's System.Web and only works in ASP.NET Framework.

You can register the Request Logger plugin to capture request durations.

Upvotes: 2

Related Questions