# Configure APM agent with System.Configuration

**URL:** <https://discuss.elastic.co/t/configure-apm-agent-with-system-configuration/326623>\
**Category:** APM\
**Tags:** dotnet, windows\
**Created:** [February 27, 2023, 6:24pm UTC](https://discuss.elastic.co/t/configure-apm-agent-with-system-configuration/326623 "2023-02-27T18:24:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![horato](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/horato/32/117828_2.png) [@horato](https://discuss.elastic.co/u/horato)\
**Post date:** [February 27, 2023, 6:24pm UTC](https://discuss.elastic.co/t/configure-apm-agent-with-system-configuration/326623/1 "2023-02-27T18:24:03Z")

</div>

Hi,  
Is it possible to use System.Configuration instead of IConfiguration to configure APM agent on .NET Core? We still use App.config xml and System.Configuration to setup our [ASP.Net](http://ASP.Net) Core apps.  
If not, are there any possible workarounds besides using environmental variables?

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 20, 2023, 2:24pm UTC](https://discuss.elastic.co/t/configure-apm-agent-with-system-configuration/326623/2 "2023-03-20T14:24:45Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
