ServiceStack:如何在自托管中启用和查看内置分析器?

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

当我阅读有关内置 ServiceStacks 的文档时 profiling,我不确定如何在自托管解决方案中启用它:

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

Global.asax 不存在自托管,我不确定在哪里启用它,或者在哪里查看分析结果。

MiniProfiler 依赖于 ASP.NET 的 System.Web,并且仅适用于 ASP.NET 框架。

您可以注册 Request Logger 插件来捕获请求持续时间。