Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • CSOM is actually built on top of WCF so it is almost the same as Web Services options from port config perspective. Commented Apr 5, 2012 at 16:41
  • thanks for reply guys, Can you also please also help how to set up a particular port for the CSOM and what is the default port on which the CSOM runs. Commented Apr 6, 2012 at 19:25
  • var context = new ClientContext("http://sp2010:3695"); or var context = new MySiteDataContext(new Uri("http://sp2010:3695/_vti_bin/listdata.svc")); CSOM and REST are pure HTTP requests, so you just specify the portnumber as usually and the default is port 80. Commented Apr 7, 2012 at 19:02