Application Insights will start to support Connection Strings.
This will simplify the endpoint configuration necessary for some of our customers, specifically for customers that have a business need to connect to specific Azure Regions.
The Azure Portal will start displaying Connection Strings this week.
There will be an official blog post at a later date.

Ruleset
- check for explicit endpoint (location is ignored)
- check for endpoint suffix (location is optional)
- use classic endpoint (location is ignored)
Design
- New property:
TelemetryConfiguration.ConnectionString
- New method:
TelemetryConfiguration.SetConnectionString())
Connection string needs to be parsed (via EndpointProvider) and validated.
This method will set TelemetryConfiguration.InstrumentationKey.
Resulting endpoints are set to TelemetryConfiguration.Endpoints (EndpointContainer).
This method will also update TelemetryChannel.Endpoint
TODO
- Need to integrate Javascript SDK with AspNetCore SDK. Waiting for new Javascript SDK to be released with connection string support.
Application Insights will start to support Connection Strings.
This will simplify the endpoint configuration necessary for some of our customers, specifically for customers that have a business need to connect to specific Azure Regions.
The Azure Portal will start displaying Connection Strings this week.
There will be an official blog post at a later date.
Ruleset
Design
TelemetryConfiguration.ConnectionStringTelemetryConfiguration.SetConnectionString())Connection string needs to be parsed (via
EndpointProvider) and validated.This method will set
TelemetryConfiguration.InstrumentationKey.Resulting endpoints are set to
TelemetryConfiguration.Endpoints(EndpointContainer).This method will also update
TelemetryChannel.EndpointTODO