Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access sharepoint data using C#?

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?

like image 501
Preeti Avatar asked Nov 14 '09 06:11

Preeti


People also ask

How do I access SharePoint data?

On the External Data tab, select More > SharePoint List. Specify the SharePoint site. Select Link to the data source by creating a linked table, and then click Next. Select the list you want to link to, and then click OK.

Can you use C# with SharePoint?

You can develop SharePoint projects by using either Visual Basic or Visual C#, and you can develop app for SharePoint projects by using JavaScript.

Is there an API for SharePoint?

SharePoint offers a rich set of APIs that can be consumed in various ways. This article outlines what options you have, how they work and what their advantages and disadvantages are.

How do I use REST API in SharePoint?

To use the REST capabilities that are built into SharePoint, you construct a RESTful HTTP request by using the OData standard, which corresponds to the client object model API you want to use. The client. svc web service handles the HTTP request and serves the appropriate response in either Atom or JSON format.


1 Answers

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.

like image 168
Preeti Avatar answered Sep 24 '22 10:09

Preeti