web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / xRMCenter / Basic Understanding for con...

Basic Understanding for connecting to Microsoft Dynamic CRM

nghieppham Profile Picture nghieppham 4,755

Because of growth of economy day by day, business deployed many systems for manage their business during their growth time at different time,  more than 90 percent, businesses has required Microsoft Dynamic CRM integrate with other systems. Almost all of Microsoft Dynamic CRM consultants were asked “How can CRM integrate with other system?” It is not a difficult question, we can tell business that we can use web service, Microsoft Dynamic SDK, but for the good integration solution, we need more…Options for connect to CRM will be written in this article. Let’s see below image for programability reviewing.

iconYN

Options for CRM connection

Option

Required Supported Version

Note

CrmConnection Mircosoft.Xrm.Client dll

2011

2013

2015

 

Still use in CRM 2016 but need to use previous

Mircosoft.Xrm.Client version

IServiceManagement and OrganizationServiceProxy

Mircosoft.Xrm.Client

Requires advanced understanding of the

WCF channel and server authentication

Allows more control and flexibility

 

2011

2013

2015

2016

Reference example in SDK folder.
Mircrosoft.Xrm.Tooling.Connector

2015 SP1

2016

Support OAuth authentication and connection strings.

Recommended for WPF & Win form application integration.

Web API  

2015 SP1

2016

 

Options for develop programming

When we developed, customized Microsoft Dynamic CRM, we always hear Early & Late Binding concept, and it is not easy for new beginner to choose which type is suitable for them, the below table is comparison between Early & Late binding.

Early binding Late binding
  • Intelligent programming during development
  • Good to use when you have a known stable domain model
  • Generated code, must be updated every time creating, updating new entities, attribute, option set
  • Can still use Late Binding with early binding

 

  • Good for developers who do not known the data model ahead of time.
  • Better performance on thousands/millions of records
  • No need to generated classes.
  • Cannot know the error at developing time, errors discovered at run time.

 These points are very basic for xRM worlds but they are very important to beginners for understanding to make good approach to Microsoft Dynamic CRM. For more understanding about scenarios for integration system, please read this link.

Hope that it will be useful for someone.



This was originally posted here.

Comments

*This post is locked for comments