Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Providing Extensive information from the HostSite to the App in the browser

$
0
0

I have a Provider Hosted App hosted on Windows Azure.

I've been struggling with how to provide extensive information from the Host Site to the App, and I've had a lot of trouble with JSOM and REST because of Cross-Domain issues that are tough to deal with.

It seems like the best idea is to host a web service in your app that can take AJAX calls, and use your server to interface with the host via CSOM (I'm open to re-thinking this)

The trouble is, I don't yet know how to instantiate a ClientContext object without a Page.Request object. Attempts to use new ClientContext("sharepointUrl") have failed.

For those who think I'm on the right track with CSOM + WCF, how do I get the ClientContext object up and running?

For those who think I should take a second look at pure JSOM or REST, how would I do that without using the appProxy system?


Viewing all articles
Browse latest Browse all 7589

Trending Articles