Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Send Microsoft Dynamics CRM Data Over the Windows Azure Service Bus

[Applies to: Microsoft Dynamics CRM 2011]

An internal plug-in named ServiceBusPlugin is provided with Microsoft Dynamics CRM 2011. The plug-in contains the business logic to post the Microsoft Dynamics CRM message execution context to the Windows Azure Service Bus. To use this plug-in, you need to register a Windows Azure Service Bus solution endpoint and a step for the plug-in. The step defines what message and entity combination being processed by the core Microsoft Dynamics CRM operation should trigger the plug-in to execute. The ServiceBusPlugin can only be registered to run asynchronously. For more information, see Walkthrough: Register an Azure-Aware Plug-in with Plug-in Registration Tool.

In addition, you can write a custom plug-in that includes the required lines of code to post to the service bus. The plug-in is registered in a similar way, except that it must be registered in the sandbox and run under partial trust. For more information on writing a custom plug-in that can post to the Windows Azure Service Bus, see Write a Custom Azure-Aware Plug-In.

You can also write a custom workflow activity that can post the execution context to the service bus and include this activity in your workflows. Sample code for a custom Windows Azure-aware workflow activity is provided in the topic Sample: Azure Aware Custom Workflow Activity.

See Also

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.