---
title: Configuration
description: Utilize configuration options to adapt the Elastic APM agent to your needs. There are multiple configuration sources, each with different naming conventions...
url: https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/dotnet/configuration

This applies to:
- Generally available for Serverless Observability
- Generally available in 9.0+ for Stack
- Generally available in 1.0+ for APM Agent .NET
---

# Configuration
Utilize configuration options to adapt the Elastic APM agent to your needs. There are multiple configuration sources, each with different naming conventions for the property key.
By default, the agent uses environment variables. Additionally, on ASP.NET Core, the agent plugs into the [Microsoft.Extensions.Configuration](https://learn.microsoft.com/aspnet/core/fundamentals/configuration) infrastructure.

## Dynamic configuration

Configuration options that are marked with the ![dynamic config](https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/dotnet/images/dynamic-config.svg) badge can be changed at runtime when set from a supported source.
The .NET Agent supports [Central configuration](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/2439/solutions/observability/apm/apm-agents/central-configuration), which allows you to fine-tune certain configurations via the APM app. This feature is enabled in the Agent by default, with [`CentralConfig` ([1.1])](/elastic/docs-builder/docs/2439/reference/apm/agents/dotnet/config-core#config-central-config).