# I want Help with MiniProfiler in .NET

**URL:** <https://community.miniprofiler.com/t/i-want-help-with-miniprofiler-in-net/666>\
**Category:** .NET\
**Created:** [March 1, 2025, 1:27pm UTC](https://community.miniprofiler.com/t/i-want-help-with-miniprofiler-in-net/666 "2025-03-01T13:27:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![faelannm](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/faelannm/32/1068_2.png) [@faelannm](https://community.miniprofiler.com/u/faelannm)\
**Post date:** [March 1, 2025, 1:27pm UTC](https://community.miniprofiler.com/t/i-want-help-with-miniprofiler-in-net/666/1 "2025-03-01T13:27:55Z")

</div>

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](https://www.igmguru.com/digital-marketing-programming/java-certification-training) 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](https://community.miniprofiler.com/t/unable-to-get-sql-query-timings-with-ef-in-miniprofiler-u-i/399) witch is good. I appreciate any pointers or examples

Thank you.🙂
