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

Posted on 2011-04-23
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
Question by:vamail2
    LVL 4

    Accepted Solution


    Author Comment

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

    Author Closing Comment

    Great source of help.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
    Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now