Link to home
Start Free TrialLog in
Avatar of vamail2
vamail2

asked on

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

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
ASKER CERTIFIED SOLUTION
Avatar of linuxo
linuxo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vamail2
vamail2

ASKER

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

ASKER

Great source of help.