---
title: Enable Autocomplete and Search for .NET
description: >-
  Configure .NET applications to enable IDE-like autocomplete and search
  features for Dynamic Instrumentation.
breadcrumbs: >-
  Docs > APM > Application Instrumentation > Dynamic Instrumentation >
  Autocomplete and Search > Enable Autocomplete and Search for .NET
---

# Enable Autocomplete and Search for .NET

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site). ().
{% /alert %}

{% /callout %}

{% callout %}
##### Join the Preview!

Autocomplete and search are in Preview.
{% /callout %}

## Requirements{% #requirements %}

- [Dynamic Instrumentation](https://docs.datadoghq.com/dynamic_instrumentation) is enabled for your service.
- Tracing library [`dd-trace-dotnet`](https://github.com/DataDog/dd-trace-dotnet) 2.58.0 or higher is installed.

## Installation{% #installation %}

Run your service with Dynamic Instrumentation enabled, and additionally enable autocomplete and search:

1. Set the `DD_SYMBOL_DATABASE_UPLOAD_ENABLED=true` environment variable.
1. Specify the `DD_SERVICE` and `DD_VERSION` [Unified Service Tags](https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging).
1. After starting your service with Dynamic Instrumentation and autocomplete and search enabled, you can use Dynamic Instrumentation's IDE-like features on the [**APM** > **Dynamic Instrumentation**](https://app.datadoghq.com/dynamic-instrumentation) page.

## Additional configuration{% #additional-configuration %}

### Third party detection{% #third-party-detection %}

If autocomplete suggestions do not appear for your package or module, it may be incorrectly recognized as third-party code. The autocomplete and search features use a heuristic to filter out third-party code, which can sometimes lead to accidental misclassification.

To ensure that your code is properly recognized and to enable accurate autocomplete and search functionality, you can configure the third-party detection settings using the following options:

```shell
export DD_THIRD_PARTY_EXCLUDES=<LIST_OF_USER_CODE_PACKAGE_PREFIXES>
export DD_THIRD_PARTY_INCLUDES=<LIST_OF_ADDITIONAL_THIRD_PARTY_PACKAGE_PREFIXES>
```

Where a list means a comma separated list of package prefixes, for example:

```shell
export DD_THIRD_PARTY_EXCLUDES=com.mycompany,io.mycompany
```
