Skip to content

Console Project Template

PhuocLe edited this page Sep 28, 2023 · 10 revisions
  • Console app project with a ready AppSettings.Service connection that you can use
    • Ready to run the console app with method CheckWhoAmI() to check AppSettings.Service connection
  • Used for debug plugins/workflows
    • Ready method DebugPlugin() to debug plugins/workflows

Notes

  • If you use OOB SDK Control Login Dialog type, every time the console app run it ask you login to the instance by OOB SDK Control Login Dialog
  • Others connection type, the username, password saved without encrypt to App.config file, because when the console app run, it use these values to connect to the instance.

We recommend you use ClientSecret connection type

New Project location

New Project > DynamicsCrm.DevKit > 02. Console Project

01

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

02

Others connection type project

03

Clone this wiki locally