Export (0) Print
Expand All

Use the sample and helper code

Applies To: CRM 2015 on-prem, CRM Online

Most managed code samples provided in the Microsoft Dynamics CRM SDK that use the organization and discovery web services are using shared helper code to perform common tasks. You might find this helper code useful in applications that you write. Sample helper code can be found in the following folders in the SDK, and also by following the links provided later in this topic. Download the Microsoft Dynamics CRM SDK package.



When writing an application that uses the Microsoft Dynamics CRM SDK, you typically have to perform a number of steps to configure your application’s project. To learn more about setting up a project in Microsoft Visual Studio, or other development environment, see Start a managed code project in Visual Studio.

For more information about running the samples included in the Microsoft Dynamics CRM SDK download, see the SDK\SampleCode\Readme.docx. To view a sample application that uses the helper code and includes the required .NET references, see Run a simple program using Microsoft Dynamics CRM web services.

A non-customized early-bound types file that is named MyOrganizationCrmSdkTypes is included in the SDK download in the SampleCode\CS\HelperCode and SampleCode\VB\HelperCode folders to help get you started. However, if your organization has custom or customized entities, you should generate a new early-bound types file. For the purposes of this documentation, the generated classes are included in the global namespace. For more information, see Create early bound entity classes with the code generation tool (CrmSvcUtil.exe).

See Also

Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft