Skip to content
Boilerplate code for testing Dynamics 365 / CRM code locally
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
D365CC update package versions May 16, 2018
.gitignore Pushing to GitHub Aug 4, 2017
Dynamics365ConsoleCaller.sln Added documentation Mar 14, 2018
_config.yml Set theme jekyll-theme-architect Jul 22, 2018

This code has been written with only intention to save developer's time while testing Dynamics 365 code which requires connection to CRM organization & IOrganizationService and/or ITracingService instances.

To usse it just download this project, open in Visual Studio and build to restore nugget packages, open Program.cs(below code) and provide credentials to GetOrganizationService method

class Program
    static void Main(string[] args)
        IOrganizationService orgService = Connect.GetOrganizationService(
             "<Your Crush's Name i.e. Your Password>",
             "<CRM login URI>");
        Console.WriteLine("Connected to Organization Service!");
        ITracingService tracingService = Connect.GetTracingService("AshV_Log");
        // Write your code tobe tested here.
  • To test code snippet just write/paste your code at mentioned place and simply run/debug.

  • You can even add references to DLLs in this project and call public methods.

You can’t perform that action at this time.