Microsoft.CrmSdk.CoreAssemblies.Async 8.0.4

dotnet add package Microsoft.CrmSdk.CoreAssemblies.Async --version 8.0.4
NuGet\Install-Package Microsoft.CrmSdk.CoreAssemblies.Async -Version 8.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.CrmSdk.CoreAssemblies.Async" Version="8.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.CrmSdk.CoreAssemblies.Async --version 8.0.4
#r "nuget: Microsoft.CrmSdk.CoreAssemblies.Async, 8.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.CrmSdk.CoreAssemblies.Async as a Cake Addin
#addin nuget:?package=Microsoft.CrmSdk.CoreAssemblies.Async&version=8.0.4

// Install Microsoft.CrmSdk.CoreAssemblies.Async as a Cake Tool
#tool nuget:?package=Microsoft.CrmSdk.CoreAssemblies.Async&version=8.0.4

Adds IAsyncOrganizationService and IAsyncDiscoveryService with async versions of interface methods to the CRM Dynamics SDK.
       
When you call "IOrganizationService.Execute(request)" for instance, it blocks the current thread until the reply is received from the Dynamics CRM server. In case when multiple such operations are running in parallel the app will use too many worker threads (because they are blocked) and will start suffer from performance degradation due to thread exhaustion. To avoid this issue, it's better not to block threads and process server responses as soon as they are available. This extension library allows you to do this using Task Parrallel Library (TPL) and asynchronous calls to Dynamics CRM server, e.g. "await IAsyncOrganizationService.ExecuteAsync(request, cancellationToken)".

To use you need to create an async version of the client (Microsoft.Xrm.Sdk.Client.Async.AsyncOrganizationServiceProxy, Microsoft.Xrm.Sdk.Client.Async.AsyncDiscoveryServiceProxy, Microsoft.Xrm.Sdk.WebServiceClient.Async.OrganizationWebProxyAsyncClient, Microsoft.Xrm.Sdk.WebServiceClient.Async.DiscoveryWebProxyAsyncClient) which does asynchronous WCF calls to the service.

GitHub project: https://github.com/tyrotoxin/Microsoft.Xrm.Sdk.Async

Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.4 69,676 12/9/2017
8.0.3 77,045 3/28/2016
7.0.4 1,739 12/9/2017
7.0.3 1,619 3/28/2016
6.0.4 2,151 12/9/2017
6.0.3 2,866 3/28/2016

Slightly improves performance by avoiding thread switching with Task.Run()