MS CRM Callouts Tip - Debug and Development铪铪铪铪

news/2024/7/7 11:19:46
 

 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

下面是一些注意事项:

1.       1) Install the .NET Framework 1.1, Service Pack it too

2.       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.

3.       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.

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





http://www.niftyadmin.cn/n/3657252.html

相关文章

Linux V4L2驱动框架分析之(三):v4l2设备的缓存管理

系列文章: Linux V4L2驱动框架分析之(一):架构介绍 Linux V4L2驱动框架分析之(二):平台v4l2设备驱动 Linux V4L2驱动框架分析之(三):v4l2设备的缓存管理 Linu…

MS CRM Callouts Tip - 在Callouts中调用log4net

CRM中的Callouts未处理的异常信息会被CRM Server记录在Windows的Event Log中,如果要通过log4net实现异常记录,会遇到一个问题 - 在WinForm 程序或者 ASP.NET程序中使用log4net,需要在config文件中配置 log4net 所需的配置节。Callouts作为Cla…

Linux V4L2驱动框架分析之(四):sensor驱动

系列文章: Linux V4L2驱动框架分析之(一):架构介绍 Linux V4L2驱动框架分析之(二):平台v4l2设备驱动 Linux V4L2驱动框架分析之(三):v4l2设备的缓存管理 Linu…

[概念] 激励理论-海兹伯格激励理论(Herzberg's theory of motivation)

详见http://www.netmba.com/mgmt/ob/motivation/herzberg/Herzberg found that the factors causing job satisfaction (and presumably motivation) were different from those causing job dissatisfaction. He developed the motivation-hygiene theory to explain these re…

项目经理的角色(Roles of Project Manager)

来自 http://www.yancy.org/research/project_management/human_resources.html * Integrator o PM is the most likely person who can view both the project and the way it fits into the overall plan for the organization. o Must coordinate the …

组织结构 - 职能型,矩阵型和项目型

PMBOK(2004 3rd 英)P28中介绍了几种组织结够,包括职能型(Functional) ,矩阵型(Matrix)和项目型(Projectized) 。其中矩阵型又分为Weak Matrix,Balanced Matrix和Strong Matrix. 书中只是从项目经理职权的角度比较了这几种组织结构的不同。下面是一些补充…

Project Management 101 lessons

101这个数字在西方也许有什么特殊的含义 - 因为知道asp101.com,今天发现了Project Management 101- http://www.suite101.com/course.cfm/17517。 好像二战中美国有个101空降师,王牌部队,所以101代表王牌?作者说世界上有三种人&am…

FastDFS配置文件详解之tracker.conf

本文转自 http://bbs.chinaunix.net/thread-1941456-1-1.html,如果您也转载,请注明出处。 ----------------------------------------------------------------------------------------------------------------------------------------------------…