Posts

Showing posts from June, 2019

How to Connect ASP.NET MVC Application to Dynamic CRM

Image
The ASP.NET MVC is a web application framework developed by Microsoft, which implements the Model View Controller (MVC) design pattern.  In this tutorial, we will learn how to connect an ASP.Net MVC application to Dynamic CRM and perform CRUD (Create, Update, Retrieve, and Delete) operations. 1. Create a new MVC project 2. Add a connection string in the Web.config file Microsoft Dynamics CRM uses the concept of connection string to connect to the Microsoft Dynamics CRM server. This is similar to the concept of connection strings used with Microsoft SQL Server. The connection string for Online using Office 365: <connectionStrings> <add name="Server=CRM Online, organization=contoso, user=someone" connectionString="Url=https://contoso.crm.dynamics.com; Username=someone@contoso.onmicrosoft.com; Password=password;"/> </ connectionStrings> The connection string for Microsoft on Premise: <connectionStrings> <add name="Server...