14 August, 2012
Lync 2010 Trunk Media Bypass
Restore a Web application in SharePoint Server 2010 using Windows PowerShell
To restore a Web application by using Windows PowerShell
1. On the Start menu, click All Programs.
2. Click Microsoft SharePoint 2010 Products.
3. Click SharePoint 2010 Management Shell.
4. At the Windows PowerShell command prompt, type the following command:
Restore-SPFarm -Directory (BackupFolderName) -RestoreMethod Overwrite -Item (WebApplicationName) [-BackupId (GUID)] [-Verbose]
Where:
- BackupFolderName, is the full path to the folder you use for backup files.
- WebApplicationNam, is the name of the Web application that was backed up.
- GUID, is the identifier of the back up to use for the restore operation.
If you do not specify the value of the BackupID parameter, the most recent backup will be used. You cannot restore a Web application by using a configuration-only backup. You can view the backups for the farm by typing the following:
Get-SPBackupHistory -Directory -ShowBackup
SharePoint 2013 Downloads and Links
As we all know Microsoft released public beta for SharePoint 2013 recently. Here are below some good links to download all related stuffs to SharePoint 2013.
Hardware and software requirements for SharePoint 2013 - Click here
Download Microsoft SharePoint Server 2013 Preview: Click here
Product key for the above: 6RNT8-XV26M-GWH36-VMGQH-94MMH
Download SharePoint Foundation 2013 Preview: Click here
Download SharePoint Designer 2013: Click here
SharePoint 2013: presentation: IT pro training (PPTX): Click here
Download ebook for Deployment guide for SharePoint 2013 Preview: Click here
SharePoint 2013 training for developers (Videos): Click here
Download SharePoint 2013 training for IT pros (Videos): Click here
What changes from SharePoint 2010 to SharePoint 2013 preview: Click here
What's new in social computing in SharePoint Server 2013 Preview: Click here
SharePoint 2013 Preview installation and configuration guide: Click here
Capabilities and features in SharePoint 2013 (Video): Click here
Physical architecture and logical architecture of SharePoint 2013: Click here
API set in SharePoint 2013: Click hereSharePoint 2013 video tutorial link: Click here
Microsoft Office Professional Plus 2013 Preview: Click here
SharePoint 2013 forum for IT Professional and Developers: Click here
Microsoft SharePoint 2013 forum for IT Professional: Click here
Microsoft SharePoint 2013 forum for Developers: Click here
13 August, 2012
Hardware and software requirements for SharePoint 2013 Preview
SharePoint 2013 Preview can be installed in different scenarios like single server with built-in database installations, single-server farm installations, and multiple-server farm installations.
Hardware Requirement:
Single server with a built-in database or single server that uses SQL Server:
RAM: 8 GB
Processor: 64-bit, 4 cores
Hard Disk space: 80 GB
Single server with a built-in database or single server that uses SQL Server:
RAM: 24 GB
Processor: 64-bit, 4 cores
Hard Disk space: 80 GB
Web server or application server in a three-tier farm:
RAM: 12 GB
Processor: 64-bit, 4 cores
Hard Disk space: 80 GB
Database servers:
RAM: 8 GB for small deployments and 16 GB for Medium deployment
Processor: 64-bit, 4 cores for small deployments and 64-bit, 8 cores for medium deployments
Hard Disk space: 80 GB
Database Requirement mainly: Microsoft SQL Server 2008 R2 (Service Pack 1) 64bit or Microsoft SQL Server 2012 (64bit)
Software requirements:
Minimum requirements for a database server in a farm:
- 64-bit edition of Microsoft SQL Server 2012 or 64-bit edition of SQL Server 2008 R2 Service Pack 1
- 64-bit edition of Windows Server 2008 R2 Service Pack 1 (SP1) Standard, Enterprise, or Datacenter or the 64-bit edition of Windows Server 2012 Release Candidate Standard or Datacenter
- Microsoft .NET Framework version 4.5 Release Candidate (RC)
Minimum requirements for a single server with built-in database:
- Microsoft SQL Server 2008 R2 SP1 - Express Edition
- 64-bit edition of Windows Server 2008 R2 Service Pack 1 (SP1) Standard, Enterprise, or Datacenter or the 64-bit edition of Windows Server 2012 Release Candidate Standard or Datacenter
- Microsoft .NET Framework version 4.5 Release Candidate (RC)
Minimum requirements for front-end web servers and application servers in a farm:
- 64-bit edition of Windows Server 2008 R2 Service Pack 1 (SP1) Standard, Enterprise, or Datacenter or the 64-bit edition of Windows Server 2012 Release Candidate Standard or Datacenter.
- SQL Server 2008 R2 SP1 Native Client
Check the below link for more information on it:
http://technet.microsoft.com/en-us/library/cc262485(office.15).aspx
SharePoint 2010 Object Model Classes
Here there are some SharePoint Object model classes.
In the top SPFarm class is there.
SPFarm: This reference the entire SharePoint Server Farm.
By using this you can create a new farm or you can connect to a existing a existing farm.
Namespace: Microsoft.SharePoint.Administration
SPServer: By using this class you can browse through the collections of servers belongs to the Farm.
SPSite: Represent a Site collection.
SPWeb: Represent a web site.
SPUserToken: The SPUserToken class represents a token for a valid SharePoint user.
SPList: SPList corresponds to a single list instance, whether that is a list of items or a document library.
SPListItem: This defines a reference to a specific item of a list.
SPDocumentLibrary: This type represents a document library.
SPFile: This class is used to enumerate the files contained in a document library.
SPPrincipal: This class is the parent class for SPGroup and SPUser.
SPControl: This class we need while developing web controls or Web Parts.
SPContext: This is a very useful class and it has some direct methods to access useful information about current requests.
Managed Object Model:
Dlls needed:
- Microsoft.SharePoint.Client
- Microsoft.SharePoint.Client.Runtime
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI (If SharePoint installation done in C drive)
ECMAScript Object Model:
JS needed:
- SP.js , SP.Core.js , SP.Ribbon.js , and SP.Runtime.js .
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS (If SharePoint installation done in C )
Silverlight Object Model:
Dlls needed:
- Microsoft.SharePoint.Client.Silverlight
- Microsoft.SharePoint.Client.Silverlight.Runtime
Location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ClientBin (If SharePoint installation done in C drive)drive)
These classes are very easy to use and prefix sp is removed in the naming of client object model classes. For example in Server object model if the class is SPList now in client object model the class name is List.
Behind the schene client object model interact with some wcf services to communicate with SharePoint.
To work with client object model you need to refer 2 dlls which can be found in the following locations, refer to Managed Object Model, as discussed above:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI
The 2 dlls are:
- Microsoft.SharePoint.Client.dll
- Microsoft.SharePoint.Client.Runtime.dll
Here is an example to create a list of type Announcement list by using SharePoint 2010 client object model.
using (ClientContext context = new ClientContext(http://Amardeep:8787/sites/Training))
{ //Create a new list
ListCreationInformation listCreationInformation = new ListCreationInformation();
listCreationInformation.Title = "My Announcements List";
listCreationInformation.Description += "Here is my list created by client object midel";
listCreationInformation.TemplateType = (int)ListTemplateType.Announcements;
listCreationInformation.QuickLaunchOption = Microsoft.SharePoint.Client.QuickLaunchOptions.On;
List list = context.Web.Lists.Add(listCreationInformation);
context.ExecuteQuery();
}
More Details: Refer to the link.