Q&A

Q. Can you still use web services in SharePoint 2010 in place of the client side API?

A. Yes. You can still use the web services in SharePoint 2010. These are available in the _vti_bin virtual directory of your SharePoint website.

Q. Can you use the JavaScript API in custom ASP.NET sites?

A. The JavaScript API can be used only in SharePoint sites. You cannot use the JavaScript API to provide SharePoint functionalities in an ASP.NET site as this leads to cross-site scripting issues.

Q. Can you use the JavaScript API to access SharePoint resources in another SharePoint Site?

A. No. The JavaScript API cannot be used to access SharePoint resources in another SharePoint site. Suppose the script is running in site1.com; you cannot use the JavaScript ...

Get Sams Teach Yourself SharePoint® 2010 Development in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.