How to access sharepoint data using C#?

Preeti picture Preeti · Nov 14, 2009 · Viewed 26.2k times · Source

I am working on project where I have to access SharePoint data in C#.

I've never done this before; and have the following questions?

How would I access SharePoint data from C#? What API do I use? Are there any tutorials out there that will help me get started?

Answer

Preeti picture Preeti · Feb 1, 2010

There two ways in which you can access Sharepoint data:

  1. By Using Microsoft.Sharepoint.dll In this case you need to do coding on same machine (windows server).

  2. Second way is to use Sharepoint Web Services. This will allow developer to do developement work on different machine.