File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ApplicationInsights.RedactSensitiveInformation/ApplicationInsights.RedactSensitiveInformation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99
1010// DEMO ONLY: Don't put credentials in code - use Azure Key Vault, or applicable protected configuration services.
1111// I am using the connection string in code for clarity and avoiding unnecessary logic that distracts from the focus of the demo.
12- const string connectionString = "InstrumentationKey=9a53e1c4-6c7b-4186-8a5a-55710e9ddd7e ;IngestionEndpoint=https://westeurope-5 .in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope .livediagnostics.monitor.azure.com/" ;
12+ const string connectionString = "InstrumentationKey=<GUID> ;IngestionEndpoint=https://<endpoint> .in.applicationinsights.azure.com/;LiveEndpoint=https://<endpoint> .livediagnostics.monitor.azure.com/" ;
1313
1414#region Wire-up
1515
5454var telemetryClient = serviceProvider . GetRequiredService < TelemetryClient > ( ) ;
5555telemetryClient . Flush ( ) ;
5656Task . Delay ( 5000 ) . Wait ( ) ;
57-
57+
You can’t perform that action at this time.
0 commit comments