Hi,
I'd like to send custom messages to Azure Service Bus from an MS CRM plugin. By "custom" I mean I want control over the message contents. I know that, in general, it's possible to send messages registering a service endpoint, but this ends up sending a serialized "RemoteExecutionContext" which is not what I'm looking for.
My first attempt was to simply load up the WindowsAzure.ServiceBus nugget into the project and use that (along with ILmerging the new assembly). This only works in an on-premise setting however - attempting to use the same code in a sandbox plugin environment ends up with a "That assembly does not allow partially trusted callers" error (I don't know how exactly the WindowsAzure.ServiceBus library works, but apparently the CRM sandbox doesn't like it).
There's the whole Azure REST API as well, but using it seems like an incredible hassle and overkill for sending a simple message to a Service Bus. Are there any ways to solve this? Again, the default method CRM does isn't ideal in my case, as I want to have full control over the contents that will be sent to Service Bus.
*This post is locked for comments
I have the same question (0)