Sample code for quick reference for connecting to CDS through a console application using OAuth Add the NuGet package for Microsoft.CrmSdk.XrmTooling.CoreAssembly in the project Note – Here we will be using the sample AppId and Redirect URI. Sample Code- More details on – Connection string parameters. Hope it helps..
Continue Reading Nishant Rana’s Article on their blog
Sample code to connect to CDS / Dynamics 365 / CE using OAuth
Sample code for quick reference for connecting to CDS through a console application using OAuth Add the NuGet package for Microsoft.CrmSdk.XrmTooling.CoreAssembly in the project. Xrm.Tooling is the preferred way to connect to CDS, because of many benefits – we can define connection string, thread safety, support for X.509 certificate authentication, support for secure storage of…
Blog Syndicated with Nishant Rana’s Permission