了解连接到CRM 2011的不同方法 [英] Understanding the different ways to connect to CRM 2011

查看:87
本文介绍了了解连接到CRM 2011的不同方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是CRM的初学者,对CRM的连接方法感到很困惑。

I'm a beginner CRM developer and I'm quite confused about the connection methods to CRM.

创建 SOAP服务参考,可使用连接字符串 VS创建网络服务

What's the difference between creating a SOAP service reference to connect to CRM 2011 from a windows form application VS using connection string VS creating a web service?

它们是否相同,我可以互换使用?还是取决于我要执行的任务?

Are they the same and I can use them interchangeably ? Or it depends on the task I want to do?

谢谢

推荐答案

您提供的3个链接中的,其中包含最佳方法。

Out of the 3 links that you have provided, one contains the best approach.

-CRM SDK表示当您要从其他应用程序(例如Winform应用程序,WPF应用程序,网站)与CRM连接时使用此方法。总之,您可以通过配置提供连接值,然后使用CRM提供的dll来访问数据。

this - CRM SDK says to use this approach when you want to connect with CRM from some other application like Winform app, WPF app, website. In summary, you provide connection values through configuration and then use dlls provided by CRM to access data.

-这是CRM中的特例。因此,这里您要从CRM访问一些数据,在服务中对其进行处理,然后使用该服务来访问已处理的数据。

this - This is a special case in CRM. So here you are accessing some data from CRM, processing it in a service and then using that service to access processed data.

-该文件本身说您不应使用此方法。这种方法的问题在于硬编码的服务引用。

this - This document itself says that you should not use this approach. Problem with this approach is about hard coded service references.

您可以从CRM SDK中找到很多示例。

You can find plenty of examples to start up with from CRM SDK.

这篇关于了解连接到CRM 2011的不同方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆