Xar.PluginTester 0.0.1

Additional Details

no support will be provided for this package.

dotnet add package Xar.PluginTester --version 0.0.1
NuGet\Install-Package Xar.PluginTester -Version 0.0.1
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="Xar.PluginTester" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xar.PluginTester --version 0.0.1
#r "nuget: Xar.PluginTester, 0.0.1"
#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 Xar.PluginTester as a Cake Addin
#addin nuget:?package=Xar.PluginTester&version=0.0.1

// Install Xar.PluginTester as a Cake Tool
#tool nuget:?package=Xar.PluginTester&version=0.0.1

Tools that provide an easy way to debugging plugins for dynamics crm.

You can easily debug your plugins with easy use, if you wish you can write unit tests for your plugins with the advantage of this convenience.

  1. Create a new console or unit test application,

  2. Reference your plugin project,

  3. Define the required variables for your plugin and run your plugin

     string connectionString = @"AuthType=Office365;Username=jsmith@contoso.onmicrosoft.com;Password=passcode;Url=https://contoso.crm.dynamics.com";
     string primaryEntityName = "contact";
     Guid primaryEntityId = Guid.NewGuid();
    
     var target= new Entity(primaryEntityName, primaryEntityId);
    
     ParameterCollection inputParameters = new ParameterCollection();
     inputParameters.Add("Target", target);
    
     ParameterCollection outputParameters = new ParameterCollection();
     outputParameters.Add("id", primaryEntityId);
    
     new PluginProvider<TestPlugin>()
         .SetCrmConnectionString(connectionString)
         .SetPrimaryEntityId(primaryEntityId)
         .SetPrimaryEntityName(primaryEntityName)
         .SetInputParameters(inputParameters)
         .SetOutputParameters(outputParameters)
         .Execute();
    
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  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
0.0.1 795 11/25/2019

tools that provide an easy way to debugging custom workflow and plugins for dynamics crm.