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"))
{
Console.WriteLine(site.RootWeb.Title);
}


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.


Comments

Guest Author: Cleide28 May 2013

Do you have more great articles like this one?

Author: srikanthbattula31 Oct 2013 Member Level: Silver   Points : 2

If you really want to start your career in sharepoint you need to know the basic concepts first
There are some prerequisites to learn sharepoint.
You can find them in this article:
http://www.dotnetspider.com/resources/45281-What-know-before-learning-SharePoint-Pre-requisite-skills-learn.aspx

Author: Phagu Mahato03 Nov 2013 Member Level: Gold   Points : 2

I will say with some authority, as a result of our company will plenty of SharePoint work, several that a lot of that several many corporations really don't seem to be curious about any quite customization or development work of any sort. Most of the 'development' work really finishes up being plenty of infrastructure work, setting of lists, configuring, perhaps some skinning, perhaps deploying some off of the shelf elements, perhaps a progress here and there if they're fancy.

SharePoint development is, at the simplest of times, frustrating. The MSDN documentation is commonly wrong or dishonest concerning the XML structures for making fields, content varieties, etc. I exploit a tool from Cineplex known as WSP Builder that helps however is itself overrun with things that are not right. From expertise I've learned wherever the mines square measure hidden and that I will quickly step around them however I watch new person when new person get blown up. SharePoint isn't a really simple system to leap into and be off and running in days. The lighter you're with ideas like OOP reading different peoples' code the quicker you'll be ready to choose it up however it's still associate uphill battle.

On the opposite hand, doing SharePoint administration could be a bit easier if there's not a necessity for advanced solutions. Making lists, putting in alerts, exploitation SharePoint Designer shudder to try and do some tweaking of the layout and appearance of pages, activating basic workflows - this square measure abundant easier and might be picked up from some categories. Each SharePoint surroundings wants these individuals, not all environments need developers like ME. Whereas I will write code that's a lot of tailored to associate in-house want, it suggests that there's currently a lot of code that has got to be supported by workers instead of COTS merchandise that associate with their own support.

You'll be able to devour the quirks of SharePoint whereas operating with it - you cannot devour mature development practices constant method. In short, I would not need to figure with a corporation that will have a non-developer developing for SharePoint.

Beginning SharePoint 2013 Development is geared toward developers United Nations agency acumen to program, and need to understand regarding operating with SharePoin.Some of the benefits gained through programming SharePoint are:

Server Object Model to retell over Lists and Libraries
Content sort Creation
internet half Creation
progress Creation
Assembly linguistic communication
Business knowledge property Model Creation
website Definition Creation
machine-controlled Backup and Restore



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: