# Problem with using APM in asp.net core application

**URL:** <https://discuss.elastic.co/t/problem-with-using-apm-in-asp-net-core-application/319907>\
**Category:** APM\
**Tags:** docker, dotnet\
**Created:** [November 28, 2022, 5:37am UTC](https://discuss.elastic.co/t/problem-with-using-apm-in-asp-net-core-application/319907 "2022-11-28T05:37:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [November 29, 2022, 4:12am UTC](https://discuss.elastic.co/t/problem-with-using-apm-in-asp-net-core-application/319907/2 "2022-11-29T04:12:47Z")

</div>

Hi @Hassan_jalali Welcome to the community!

So lets back up a bit...

If you want to run APM server standalone ... then you do not use Fleet but you still need to load the integration .... Interesting I just help someone solve this here

> [@Standalone apm-server with elasticsearch 8 in docker not able to connect](https://discuss.elastic.co/t/standalone-apm-server-with-elasticsearch-8-in-docker-not-able-to-connect/319892/3):
>
> Ok I got mine working... I think you did not setup / load the APM integration... kibana weird but you still need to do that... you need to do that before you start the APM Server Then I see the assets GET \_cat/indices/.\*?v GET \_cat/templates/tra\* # GET \_cat/indices/.\*?v 200 OK health status index uuid pri rep docs.count docs.deleted store.size pri.store.size green open .fleet…

But you do not use Fleet + Standalone APM Server

It is important to realize ... That Fleet and APM Integration are just Special Policies / Integration inside and Agent ... APM Integration is the the new APM Server

If you want to use Fleet then do Follow These Documents but this will install fleet on the host not in docker... then install the APM Integrations

> **[Quick start | APM User Guide \[7.17\] | Elastic](https://www.elastic.co/guide/en/apm/guide/7.17/apm-quick-start.html)**

And Seems like you want to run fleet in a container so then you install as docker (which I think is a bit harder) ... you would need to follow these directions to install

> **[Run Elastic Agent in a container | Fleet and Elastic Agent Guide \[7.17\] |...](https://www.elastic.co/guide/en/fleet/7.17/elastic-agent-container.html)**

Yes sorry / confusing... harder than it should be

Take a look at these and then come back...

---

_[View the full topic](https://discuss.elastic.co/t/problem-with-using-apm-in-asp-net-core-application/319907)._
