Tuesday, August 28, 2012

Different ways for getting SharePoint versions


SharePoint now has two major releases: SharePoint 2007 (with version 12.0) and SharePoint 2010 (with version 14.0). For developers, it's important to know which version they're working on. Sometimes developers need to working on both and write different code for different version.

Here are several ways to get SharePoint versions.

1. Get the version by SharePoint Object Model
This is easy for all developers, using Microsoft.SharePoint.Administration namespace and gets the version information by following code.


string version = SPFarm.Local.BuildVersion;
Console.WriteLine(version);

For SharePoint 2007, the output will be string begins with "12.0"; for SharePoint 2010, the output will be string starts with "14.0".

Monday, August 20, 2012

The Cloud-bases Office 365


When SharePoint was initially released in 2001, it were built with a goal to make business collaboration easier and enable large groups of individuals to corporate together. Now in 2012 Microsoft is getting a new and innovative leap with SharePoint 365, referred to as SharePoint Online, that is a section of the new Office 365 package. The purpose for Microsoft is to assist you as well as your organization collaborate much easier by moving into a cloud-based environment to boost functionality as part of a larger Office 365 and to help make your business teamwork faster and much more efficient. Being as a part of Office 365, it provides you with flexibility along with the capability to access your documents, files and information almost anywhere, and also making it simple to corporate with colleagues and customers.