How to start programming with SharePoint ?
This article will describe about development part. How you can start writing program for SharePoint application. No need to worry about it, because it is similar to C#.net coding. So only thing you need to learn here is classes used for SharePoint object. Learn how to start programming with SharePoint ?
How to start programming with SharePoint?
As per developer concern no need to concentrate much on SharePoint administrative part. But at least you should be aware about some mandatory parts of Central Administration and Stsadm tool.
So here I am discussing about development i.e. programming in SharePoint. Before proceeding let me tell you few things that you should be aware about it.
From a SharePoint developer point of view you should be familiar with MS-Office package. Hey don't think that I am talking about MS-Word, Excel and Powerpoint, there is something called InfoPath. As InfoPath is also comes within MS-Office package.
Writing First SharePoint Console Application
Open visual studio and choose console application in project type.
Give a meaning full name to your application.
Before writing first line of code don't forget to add a reference to Microsoft.SharePoint.dll.You can find this reference under the .NET tab of
the Add References Dialog.
Now one last but not the least, Right-click your project and choose properties. Under the Build section, change the platform of
your console application to Any CPU or x64.
using (SPSite site = new SPSite("http://sharepointsite"))
Now compile your application and run it.
You will find the out put there, which will print Title of the given SharePoint site.
So I am finishing my article here.
In the next article I will write about "ADO.NET Data Services and the REST API in SharePoint".
So enjoy reading this article and leave your comment here.
Do you have more great articles like this one?