We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Sharepoint 2010 and VS 2010  - Accessing sharepoint lists from asp.net Client app (not on server)

vamail2
vamail2 asked
on
Medium Priority
764 Views
Last Modified: 2012-05-11
I am using VS 2010 - and writing a C#, ASP.NET web app.  

I have been trying linq to sharepoint and everything else just trying to read data from an SP 2010 list but I am unable to access it probably because it requires credentials and I don't see a way to add that.  I have tried a number of methods.  I tried to create an ADO.NET  service from the SVC file but get some error when it tries to generate it.

Is it possible to use linq to Sharepoint from an ASP.NET web application that is running on another server if I know the credentials?  I hate CML and BCS seems a bit heavy unless there is some utiltiy that can make it easier it use.  Is there a simple way to make it happen (bear in mind that I am NOT running a DLL inside sharepoint so I don't have the context etc... so those type solutions won't work.)

Thanks for any pointers
 

I see that my SP 2010 has the web services listdata.asmx and there is an SVC file but it fails with an error when I try ot generate
Comment
Watch Question

Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Thank you so much.  That was teh most comrpehensive single source on the subject.  Thank you for locating and sharing that!!  

Author

Commented:
Great source of help.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.