Console Project Template - phuocle/Dynamics-Crm-DevKit GitHub Wiki
- Console app project with a ready
AppSettings.Serviceconnection that you can use- Ready to run the console app with method
CheckWhoAmI()to checkAppSettings.Serviceconnection
- Ready to run the console app with method
- Used for debug plugins/workflows
- Ready method
DebugPlugin()to debugplugins/workflows
- Ready method
Notes
- If you use
OOB SDK Control Login Dialogtype, every time the console app run it ask you login to the instance byOOB SDK Control Login Dialog Others connection type, theusername,passwordsavedwithout encrypttoApp.configfile, because when the console app run, it use these values to connect to the instance.
We
recommendyou useClientSecretconnection type
New Project location
New Project > DynamicsCrm.DevKit > 02. Console Project

Project convention name
[SolutionName].Console[.Name?]
E.g.:
ABC -> ACB.Console
ABC -> ABC.Console.BatchJobs (entered project name: BatchJobs)
ABC.DEF -> ABC.DEF.Console
ABC.DEF.IJK -> ABC.DEF.IJK.Console
Created console project
OOB Login Control Dialog project

Others connection type project
