Deprecated classes in Azure SDK 2.5

We are currently working on updating our version of Azure SDK from 2.2 to 2.5, which is the latest at the moment.

When I do this, I notice that the following classes are marked as deprecated:
DeploymentDiagnosticManager
DiagnosticMonitorConfiguration
DiagnosticMonitor

When I go to the MSDN page about these classes, it doesn't cost anything unusual. http://msdn.microsoft.com/en-us/library/azure/microsoft.windowsazure.diagnostics.diagnosticmonitorconfiguration.aspx

Does anyone know what I should use for diagnostics now that these classes are deprecated?

+6
source share
1 answer

Looking at the Breaking Changes in the Azure SDK for .NET 2.5 Release Notes:

Diagnostic configuration in code is no longer supported . With the Azure SDK version 2.5, all diagnostic configuration must be done in the XML.wadcfgx diagnostic configuration file. Any previous diagnostic configuration based on code (for example, using the API DiagnosticMonitor) should be transferred to the diagnostics.wadcfgx file. The code used to configure crash dumps in previous SDKs must also be transferred to the .wadcfgx diagnostic file.

+9
source

Source: https://habr.com/ru/post/978190/


All Articles