Creation of basic SharePoint Client Application .net managed code access SharePoint Remotely

If you want to access SharePoint remotely, need to write down some .net managed code. for creating a .net managed code, two references are compulsory- Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll.The location of these dll is to go in your c drive where you have installed SharePoint server and find this path C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI.If you have installed SharePoint 2010 then these dll location is 14 hives and for SharePoint 2013 dll location is 15 hives.

Creating a simple console application

1.Open visual studio and in the File menu, click on New and click Project.
2.In the New Project dialog box, select Visual C# . Select Windows in left menu and then Console Application.Type the desired name and location for the project. Click on Ok for creating a project.
3.Copy Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll in your Project solution in bin direcotry or any where else.
4.Right click on references to add add these two dll references in your project solution.

 

Leave a Reply

Your email address will not be published. Required fields are marked *