# .NET Span AsyncAwait.Invoke

**URL:** <https://community.dynatrace.com/t/net-span-asyncawait-invoke/51651>\
**Category:** Open Q&A\
**Tags:** distributed-tracing, services, oneagent, dotnet\
**Created:** [May 15, 2025, 8:43am UTC](https://community.dynatrace.com/t/net-span-asyncawait-invoke/51651 "2025-05-15T08:43:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matcap](https://avatars.discourse-cdn.com/v4/letter/m/ec9cab/32.png) [@matcap](https://community.dynatrace.com/u/matcap)\
**Post date:** [May 15, 2025, 8:43am UTC](https://community.dynatrace.com/t/net-span-asyncawait-invoke/51651/1 "2025-05-15T08:43:57Z")

</div>

Hi, I am monitoring a .NET [ASP.NET](http://ASP.NET) core application, and with OneAgent enabled I get all my spans wrapped in a **AsyncAwait.Invoke** &nbsp;span. Since it is too verbose for my application, how can I disable this OneAgent feature?

Here is a screenshot

 ![matcap_0-1747298605429.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/c/4cbdadd2863caa476f1a14a288f55097a608eec4.png)

---

<div class="post-metadata">

**Author:** ![yanezza](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yanezza/32/5036_2.png) [@yanezza](https://community.dynatrace.com/u/yanezza)\
**Post date:** [May 21, 2025, 8:03pm UTC](https://community.dynatrace.com/t/net-span-asyncawait-invoke/51651/2 "2025-05-21T20:03:02Z")

</div>

Hi,

This span was generated for correlation purposes. To improve correlation logic and potentially prevent the creation of such spans, please try enabling the following feature flag and restarting the process:

**Improved .NET In-Process Context Propagation [Opt-In]**

If enabling this feature doesn’t resolve the issue, I recommend opening a support ticket for further investigation.
