Data8.PowerPlatform.Dataverse.Client 0.2.0

.NET Core 3.1
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package Data8.PowerPlatform.Dataverse.Client -Version 0.2.0
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.
dotnet add package Data8.PowerPlatform.Dataverse.Client --version 0.2.0
<PackageReference Include="Data8.PowerPlatform.Dataverse.Client" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Data8.PowerPlatform.Dataverse.Client --version 0.2.0
#r "nuget: Data8.PowerPlatform.Dataverse.Client, 0.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Data8.PowerPlatform.Dataverse.Client as a Cake Addin
#addin nuget:?package=Data8.PowerPlatform.Dataverse.Client&version=0.2.0

// Install Data8.PowerPlatform.Dataverse.Client as a Cake Tool
#tool nuget:?package=Data8.PowerPlatform.Dataverse.Client&version=0.2.0

Provides a WS-Trust compatible client for connecting to on-premise IFD instances of Dynamics 365 from .NET Core.

This package builds on top of Microsoft.PowerPlatform.Dataverse.Client and offers an alternative IOrganizationService implementation using WS-Trust.
This allows you to connect using the URL of the organization service, username and password without any additional
configuration.

Because this OnPremiseClient implements the same IOrganizationService as the standard ServiceClient implementation
your code can work with either as shown in the sample code below.

using Data8.PowerPlatform.Dataverse.Client;
using Microsoft.PowerPlatform.Dataverse.Client;
using Microsoft.Xrm.Sdk;

var onPrem = new OnPremiseClient("https://org.crm.contoso.com/XRMServices/2011/Organization.svc", "AD\\username", "password!");
var online = new ServiceClient("AuthType=ClientSecret;Url=https://contoso.crm.dynamics.com;ClientId=637C79F7-AE71-4E9A-BD5B-1EC5EC9F397A;ClientSecret=p1UiydoIWwUH5AdMbiVBOrEYn8t4RXud");

CreateRecord(onPrem);
CreateRecord(online);

void CreateRecord(IOrganizationService svc)
{
 var entity = new Entity("account")
 {
   ["name"] = "Data8"
 };
 
 entity.Id = svc.Create(entity);
}

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
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
2.2.0 220 9/12/2022
2.1.1 1,173 6/16/2022
2.1.0 247 5/19/2022
2.0.2 1,278 4/25/2022
2.0.1 316 3/24/2022
2.0.0 123 3/10/2022
1.0.0 300 11/15/2021
0.2.2 164 11/10/2021
0.2.1 159 11/9/2021
0.2.0 170 11/9/2021
0.1.0 171 11/9/2021

First release