Using WebClient to call external service from CRM Online Sandboxed Plugin (HTTP POST and JSON) – Nishant Rana’s Weblog

Nishant RanaDyn365CE7 years ago7 Views

Sharing a sample code that can be used to send JSON data using POST to an external service inside CRM Online Plugin. As plugin runs in sandbox mode we cannot reference Newtonsoft’s JSON.NET library http://www.newtonsoft.com/json. The other option could be to use ILMerge, which isn’t that elegant.

Here, basically we are passing some information related to lead to an external service on Post Create of it.



using Microsoft.Xrm.Sdk;
using System;
using System.IO;
using...

Full Article

Using WebClient to call external service from CRM Online Sandboxed Plugin (HTTP POST and JSON) – Nishant Rana’s Weblog

Blog Syndicated with Nishant Rana’s Permission

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...