MS CRM Callouts Tip - Debug and Development

A debug tool for CRM Callouts


由于Callouts是在CRM的服务器端由CRM Server调用,并不是一个独立的进程,因此开发人员在pc上调试Callouts将遇到一个挑战,设置断点这种最简单的调试技术都好像成了不可能的任 务。http://www.stunnware.com/crm2/topic.aspx?id=LocalCalloutDebugging 给出了一个解决办法,使用一个bootstraper 并将Callouts事件记录下来,并在开发pc上“重放”,开发人员就可以使用"断点"的常用调试方法了。

Use Visual Studio 2005 to develop Callouts for CRM 3.0


由于MS CRM 3.0 是基于.NET1.x平台,因此Callouts的开发也必须使用.NET 1.x平台,那么使用Visual Studio 2003是最佳的选择。如果想使用最新的Visual Studio 2005(.NET 2.0开发平台),有一个变通办法,可以实现 - http://blogs.msdn.com/arash/archive/2006/08/25/719626.aspx

下面是一些注意事项:

<!--[if !supportLists]-->1. 1) <!--[endif]-->Install the .NET Framework 1.1, Service Pack it too

<!--[if !supportLists]-->2. <!--[endif]-->2) Install the MSI which will add a new project templates to the new projects menu. This will allow you to build the project using the .NET 1.1 framework. Better details on the reference link above.

<!--[if !supportLists]-->3. <!--[endif]-->3) When you need to add references to .NET built-in components – e.g. System.Web.Services you need to add reference from C:/Windows/Microsoft.NET/Framework/v1.1.4322 since you can’t reference libraries compiled with a later version of the framework.

<!--[if !supportLists]--><!--[endif]-->4. 4) Always use this template to add new project in this solution in order to let it do all the tricks automatically.

DateTime format used internally in CRM

CRM uses UTC time internally and the data format likes this: "2004-08-06T22:26:15Z"
Take this in mind when you interface with CRM datetime value in Callouts

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值