How do I profile a Blazor Server app using dotTrace from Visual Studio

185 views Asked by At

I am trying to profile my Blazor server app using dotTrace and I can't find any way to have it launch the app plus display it in the browser. It launches the DOS box for the app. But no browser. And when I open Chrome and go to the url that it uses when I debug/run from Visual Studio - nothing shows.

I am able to profile by launching the app from Visual Studio, then opening dotTrace and attaching to the app. But I'd prefer to have it launch it for me. Is there a way to do this?

1

There are 1 answers

1
Valentina Serbakova On

Could you please select the "Open URL" checkbox in your profiling configuration and paste the URL into the corresponding field? Then start the profiling session for this configuration as usual.

Does it work for you?