Use the Dynamics 365 for Customer Engagement Web API Helper Library (C#)
Most of the Dynamics 365 for Customer Engagement apps Web API C# code samples described in this SDK use the Dynamics 365 for Customer Engagement Web API Helper Library to assist in performing common tasks, such as application configuration, authentication against a Dynamics 365 for Customer Engagement apps service, and HTTP response error handling. You might also find this helper code useful in your .NET Framework-based projects.
Obtain and use the helper library
The Dynamics 365 for Customer Engagement Web API Helper Library is distributed as the NuGet package Microsoft.CrmSdk.WebApi.Samples.HelperCode. If you are unfamiliar with downloading and installing NuGet packages in Visual Studio projects, see the section Create Visual Studio project.
This Nuget package is the authoritative source for the helper library. For your convenience, the topics in this section contain a code listing for each class in the helper library. However, these listings are not guaranteed to be complete or current, so they should not be used in projects.
In this section