Allan Vraa
Allan Vraa

Reputation: 229

Servicestack mini profiler

I have a separate servicestack project acting as my api where i would like to implement the profiler, but i'm a bit confused on how to view the profiler data.

My website which is in another project sends request to the api, which means i am not preseneted with the profiler data.

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

Should i just log the profiler data in the database instead?

Upvotes: 4

Views: 800

Answers (1)

Don Fitz
Don Fitz

Reputation: 1174

I believe the profiler is only visible when viewing the ServiceStack generated pages for your services. It's in the top right. I'm not sure how else you could view the profiler data. To profile your website that calls ServiceStack services, you'd have to install mini profiler there, but that profiler would only be profiling the website.

enter image description here

Upvotes: 3

Related Questions