Servicestack Mini Profiler

I have a separate servicestack project, acting like my api, where I would like to implement a profiler, but I'm a little confused about how to view profiler data.

My site, which is in another project, sends an api request, which means that I am not presented with the profiler data.

I followed these instructions https://github.com/ServiceStack/ServiceStack/wiki/Built-in-profiling , but how can I simulate a call from a website on an api so that I can see the profiler data?

Should I just log profiler data in a database?

+4
source share
1 answer

I believe that the profiler appears only when viewing generated ServiceStack pages for your services. This is in the upper right corner. I'm not sure how else to view the profiler data. To profile your site that calls ServiceStack, you will need to install a mini profiler, but this profiler will profile only the website.

enter image description here

+3
source

Source: https://habr.com/ru/post/1496568/


All Articles