My company outsourced the creation of a SharePoint WebPart for connecting to our cloud service.
The WebPart connects to our service by using our REST API. When configuring the WebPart you supply credentials etc that are used for the communiction with our server.
The developers that created the WebPart created a WCF service in SharePoint that does all the communication with our service and the WebPart only talks to the WCF service. The plan is to have multiple WebParts for different information.
Now to the acctual question. This solution is created as a Farm solution (as I understand it; nothing else would be possible). But when we released this WebPart to our customers we got alot of feedback about it requiering a Farm administrator to install and that it should be a Sandboxed solution.
Is there a best practice here? Is there any way we could have gotten the functionallity with a sandboxed solution (talking to a REST API outside the internal network)?
The thought is that we supply this "SharePoint client" as a free download for our customers. How to we best supply this? As an MSI installer?