I want Help with MiniProfiler in .NET

Hey everyone,

I have been trying to integrate MiniProfiler into my .NET application but I am facing some unexpected behavior. I followed the setup instructions & while the profiler seems to be working; I am not seeing the level of detail I expected in some requests.

For example, in my API calls, MiniProfiler is only capturing a portion of the execution time, and some queries are not showing up at all. Also I have added the middleware, enabled SQL profiling & even tried some custom timings but still no luck.

Has anyone else experienced this issue?? Could it be something with how I am registering services in Startup.cs or Program.cs? Also, if you have any tips on best practices for profiling async calls efficiently please share.

I recently came across a java course that briefly mentioned performance profiling but I want to hear from those who have hands-on experience with MiniProfiler in .NET.
Also i have check this Unable to get sql query timings with EF in miniprofiler u.i witch is good. I appreciate any pointers or examples

Thank you.:slight_smile: