# Service shown as Requests executed in background threads (Microsoft.AspNetCore.Hosting.HttpRequestIn)

**URL:** <https://community.dynatrace.com/t/service-shown-as-requests-executed-in-background-threads-microsoft-aspnetcore-hosting-httprequestin/41517>\
**Category:** Troubleshooting\
**Tags:** dotnet\
**Created:** [September 5, 2023, 1:00pm UTC](https://community.dynatrace.com/t/service-shown-as-requests-executed-in-background-threads-microsoft-aspnetcore-hosting-httprequestin/41517 "2023-09-05T13:00:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vineet\_Sinha](https://avatars.discourse-cdn.com/v4/letter/v/3be4f8/32.png) [@Vineet\_Sinha](https://community.dynatrace.com/u/Vineet_Sinha)\
**Post date:** [September 5, 2023, 1:00pm UTC](https://community.dynatrace.com/t/service-shown-as-requests-executed-in-background-threads-microsoft-aspnetcore-hosting-httprequestin/41517/1 "2023-09-05T13:00:46Z")

</div>

If instead of usual service detection over a .NET process, you are getting&nbsp;Requests executed in background threads (Microsoft.AspNetCore.Hosting.HttpRequestIn)

 ![Vineet_Sinha_1-1693918370570.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/64e8b7c02cf8e7e17805cc5fc31817033cb38b24.png)

Try out below options to rectify it .

1)&nbsp;&nbsp;Create a span exclusion rule as expalined below:

 ![Vineet_Sinha_2-1693918493899.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/1/f13084834a9bb362bd98d27212bce7c936213f9f.png)

2) Disabling the feature (OpenTelemetry (.NET) [Opt-In])

 ![Vineet_Sinha_3-1693918775387.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/3/2367d9269b80a6ed0c63d3530b339edb718099a7.png)

Thanks

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [September 7, 2023, 12:35pm UTC](https://community.dynatrace.com/t/service-shown-as-requests-executed-in-background-threads-microsoft-aspnetcore-hosting-httprequestin/41517/2 "2023-09-07T12:35:46Z")

</div>

Thanks for sharing this!

---

<div class="post-metadata">

**Author:** ![DH](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@DH](https://community.dynatrace.com/u/DH)\
**Post date:** [February 20, 2024, 9:27pm UTC](https://community.dynatrace.com/t/service-shown-as-requests-executed-in-background-threads-microsoft-aspnetcore-hosting-httprequestin/41517/3 "2024-02-20T21:27:11Z")

</div>

Thanks for sharing this.&nbsp; We recently enabled the OpenTelemetry and discovered that it broke a number of our dashboards.&nbsp; Support couldn’t help but your info above got us back up and working by disabling this feature.

---

<div class="post-metadata">

**Author:** ![lukasz\_luczko](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@lukasz\_luczko](https://community.dynatrace.com/u/lukasz_luczko)\
**Post date:** [July 2, 2026, 2:53pm UTC](https://community.dynatrace.com/t/service-shown-as-requests-executed-in-background-threads-microsoft-aspnetcore-hosting-httprequestin/41517/4 "2026-07-02T14:53:51Z")

</div>

Starting with OneAgent 339, the `Microsoft.AspNetCore.Hosting.HttpRequestIn` span is ignored by default:

> ### .NET code module ignores OpenTelemetry spans for technologies supported by the module
> 
> The OneAgent .NET code module now automatically ignores OpenTelemetry spans for technologies supported by the OneAgent .NET code module.

> **[.NET code module ignores OpenTelemetry spans for technologies supported by... -...](https://docs.dynatrace.com/docs/whats-new/oneagent/sprint-339#net-code-module-ignores-opentelemetry-spans-for-technologies-supported-by-the-module)**
>
> This page showcases new features, changes, and bug fixes in Dynatrace OneAgent version 1.339. It contains: | New features, changes, and resolved issues in Dynatrace OneAgent 1.339
