Darren Liu's Blog

Archive for the ‘SDK’ Category

Is WIF required for CRM 2011?

leave a comment »

The customer asked me today if WIF is really required for CRM 2011 On-Premise deployment without using Claims-based authentication. Hmm… It’s a good question, I know it’s required for CRM 2011 but I don’t really know the reason behind why WIF is required for a pure AD on-premise deployment.

So I did some research and pinged some of my Microsoft friends in the CRM product team. Found out that the reason that WIF is required for CRM is because it is used for claims-based authentication and it’s built into the CRM SDK, and it’s statically linked to the CRM binaries and there’s no easy way to separate them at this moment, therefore it’s required for all deployments.

I’ve learned something new today! 🙂

Advertisements

Written by darrenliu

05/02/2013 at 12:12 am

Posted in Authentication, CRM, SDK

Tagged with ,

New CRM SDK and White Paper Released!

with 2 comments

The CRM SDK team released version 5.0.7 of the SDK and this version includes a lot of new things that incides with UR 5 and the CRM Online November Service Release.  You may download the new SDK from MSDN library and also on MSDN download.

Also the CRM Engineering for Enterprise Team and the CRM Content Publishing Team release a white paper today on Deploying Microsoft Dynamics CRM 2011 and CRM Online Solutions from Development through Test and Production Environment, which is available for download from the Microsoft Download Center

This white paper explores deploying real-world Microsoft Dynamics CRM solutions across test and production environments in reliable and repeatable ways by using automation. The paper also provides some automation example and highlights the specific constraints associated with deploying and testing solutions in a Microsoft Dynamics CRM Online environment. 

Thanks to the CRM team for the opportunity to contribute to this white paper.  Couple of my colleagues and myself contributed to this paper as well!

Written by darrenliu

10/26/2011 at 9:50 pm

Posted in CRM, SDK

Tagged with , ,

CRM 2011 SDK 5.0.6

leave a comment »

The product team has updated the CRM 2011 SDK to version 5.0.6.  Based on the release note, the following has been updated.  To get the latest SDK, you may download in MSDN Downloads or view it at MSDN Library.

Release

New and updated topics

Description of changes

Version 5.0.6, August 2011

Microsoft_Dynamics_CRM_2011_SDK_Readme.htm

Updated the readme with new information.

 

Tools\PluginRegistration

Added support for Windows Azure AppFabric Access Control Services (ACS) 2.0.

 

SampleCode\CS\CrmSvcUtilExtensions\GeneratePicklistEnums\
CodeCustomizationService.cs

SampleCode\VB\HelperCode\OptionSets.vb

SampleCode\VB\QuickStart\CRUDOperations.vb

Fixed a bug in the code generation that caused the Microsoft Visual Basic .NET output file not to compile.

Added a Microsoft Visual Basic .NET helper file containing enumerations for option sets, status, and state codes. Modified the Microsoft Visual Basic .NET version of the Quick Start sample to demonstrate the use of these enumerations.

 

Analyze Plug-in Performance

Added documentation for the Plug-in Profiler tool.

 

Azure Extensions for Microsoft Dynamics CRM

Configure AppFabric ACS for Microsoft Dynamics CRM Integration

Minor updates to most sub-topics under this topic. Updated the AppFabric SDK links and added information on how to use Windows Azure AppFabric ACS 2.0.

 

Dependency Tracking for Solution Components

Global Option Set Values

Sample: Detect Solution Dependencies

Sample: Work with Global Option Sets

Sample: Work With Solutions

SDK\SampleCode\CS\HelperCode\CrmServiceHelpers.cs

SDK\SampleCode\VB\HelperCode\CrmServiceHelpers.vb

Modified all solutions samples to remove references to the SolutionComponentType class that was removed from the CrmServiceHelpers.cs and CrmServiceHelpers.vb helper code classes.

All solutions topics and samples now refer to the componenttype enumeration found in the enumeration helper code generated for all global option sets, picklists, state and status values. These enumerations can be used in your code by adding the file SampleCode\CS\HelperCode\OptionSets.cs or SampleCode\VB\HelperCode\OptionSets.vb to your project.

The list of topics and samples shown here represents the primary locations for these samples, but usage of the componenttype enumeration can be found throughout the documentation.

 

Maintain Managed Solutions

Updated the information in the Require a Minimum Version section.

You must edit the solution.xml file from a managed solution to require a minimum version. Previous content incorrectly said that you must edit the solution.xml file for an unmanaged solution.

 

Modify Icons for an Entity

Added guidance recommending the use of PNG web resources for icons.

 

Sample: Create a Connection (Early Bound)

SampleCode\CS\BusinessDataModel\BusinessManagement\CreateConnection.cs

SampleCode\VB\BusinessDataModel\BusinessManagement\CreateConnection.vb

Updated the sample to include the code that associates a role to itself using the Associate method, as required when the same role is assigned to both records in the connection.

 

Sample: Distribute a Quick Campaign

SampleCode\CS\BusinessDataModel\Marketing\QuickCampaign.cs

SampleCode\VB\BusinessDataModel\Marketing\QuickCampaign.vb

Fixed the sample so the activities are generated and the activity status changes correctly, by setting the PostWorkflowEvent property in the PropagateByExpressionRequest and CreateActivitiesListRequest message requests.

 

Use the REST Endpoint with Ajax and JScript Web Resources

Write Code for Microsoft Dynamics CRM Forms

Added comment to clarify about the supported use of jQuery.

 

Setting a Date as Criteria in a Filter in a Query

Fixed the sample getODataUTCDateFilter function so that it sets the month value correctly.

 

Xrm.Page.ui control methods

Added guidance for improving performance using the setVisible method.

Written by darrenliu

08/29/2011 at 9:01 pm

Posted in CRM, SDK

Tagged with ,