Skip to main content

Posts

Showing posts from February, 2016

Getting Started with MS Dynamics API

This is mostly a "note to self" post following some research and prototyping into working with the Microsoft Dynamics API from ASP.Net but might also be useful for anyone else that stumbles across it trying to get things working on this front.Accessing a Dynamics InstanceFirst step for me was to get access to an instance of MS Dynamics to work with by signing up for a free trial. This gives access to a fully featured set up of Dynamics that you can work with for 30 days.You'll need to sign up with a user name and password and get assigned a sub-domain that will be of the form *.onmicrosoft.com. All of these will be needed for accessing via the API.Working with the APIStarting with an empty ASP.Net MVC application, the first step is to install a NuGet package: PM> Install-Package Microsoft.CrmSdk.Extensions And then add references to the following assemblies:System.IdentityModel.dllSystem.Data.Services.dllSystem.Data.Services.Client.dllSystem.Runtime.Caching.dllSyste…