SharePoint 2010 Best Practices (en-US)


Best practices are, and rightfully so, always a much sought-after topic. There are various kinds of best practices:

  • Microsoft best practices. In real life, these are the most important ones to know, as most companies implementing SharePoint best practices have a tendency to follow as much of these as possibly can. Independent consultants doing architecture and code reviews will certainly take a look at these as well. In general, you can safely say that best practices endorsed by Microsoft have an added bonus and it will be mentioned whenever this is the case.
  • Best practices. These practices are patterns that have proven themselves over and over again as a way to achieve a high quality of your solutions, and it’s completely irrelevant who proposed them. Often MS best practices will also fall in this category. In real life, these practices should be the most important ones to follow.
  • Practices. These are just approaches that are reused over and over again, but not necessarily the best ones. Wiki’s are a great way to discern best practices from practices. It’s certainly possible that this page refers to these “Practices of the 3rd kind”, but hopefully, the SharePoint community will eventually filter them out. Therefore, everybody is invited and encouraged to actively participate in the various best practices discussions.

This Wiki page contains an overview of SharePoint 2010 Best Practices of all kinds, divided by categories.

Using #jQuery to attach regular expression validation to a #SharePoint list form field>SP2010 >PS2010 >ProjectServer >in

On one of my current projects I have had cause to ensure that no special characters are in the Title field of a SharePoint 2010 list form.
This is because we are using the Title field as the Plan Name in a Project Create process in Project Server 2010.  As a result we need to ensure that the Event Handler we are creating has validated data that the PS2010 PSI Web Service can accept for the Plan Name.
I created the following script to validate the data being entered into the Title field of the list form as it is being entered.
I manipulate the Save Buttons in the ribbon and the list form to ensure that the user cannot enter invalid data into the form.
To ensure a good user experience, I add an extra

element next to the Title field to notify the user of what is going on.
Greate Article by Giles Hamson

SharePoint 2013 App Model advantages

SharePoint 2013 applicaiton model is very strong approach for developer to leverage there skil and developer wornderful apps except using any sever side code. as we know Sandbox solution is deprecating in sharePoint 2013 because of so many ressones. but SharePoint 2013 open new door for developer to develop,market,earm Apps.

  •  Easy install,buy from App Market.
  •  Easy to sale and market on App Store.
  •  Safe SP Extentions for admin. easy Upgrads and deployments.
  •  use non sharepoint progamining skills like qjuery,html5,mvc to create beautiful app.
  •  use cross-platform standards (HTML, REST, OData, JavaScript, and OAuth_. 
  •  leverage SharePoint Cross Domain js libaries and sharepoint Data with oAuth. SharePoint rest/OData     Service. to use sharePoint Objects like Site,list,libaries.
  •  They maximize your flexibility in developing future upgrades.


Claims Provider in SharePoint 2010

A Claims Provider in SharePoint 2010 issue claims and pakages claims into securty tokens. how claim wok. first user get the token from claim provider in sp then login into SharePoint 2010. mostly it use for to augment claims and provide name resolution.
Claims augmentation start after user login to Claims Authentication Site. to remeber that the user is running on claim in authentication sharepoint 2010 can be

1 widdows (NTLM(Out of box default.) or Kerberos Protocol)

2 form-Based Auth (by using ASpnet membership role provider framework)

3 Security Assertions Markup Language (SAML) claims (when you log on by using a security token service (STS), such as Active Directory Federation Services (AD FS) 2.0)

like most commonly problem in share point 2010 with search resolve in People Picker for trusted Login Providers. for example if your typing in Seach of public picker to validate user and its not resolving. to solve this Problem in sp2010  you have two ways.
 Custom Claim Provider
Replace the Dfault Claims Provider with your own.

$trusted = Get-SPTrustedIdentityTokenIssuer -Identity “Trusted Login Provider Name Goes Here”
$trusted.ClaimProviderName = “name of your custom claim provider”  //in your claim provider you need to override the SPClaimProvider.Name; use that value here

Writte Code for claim  Provider Walkthrough
Creating Custom Claim Provider
Case Study
Claim Based Architecture

The SharePoint 2013 Preview platform New APIs Set

The SharePoint 2013 Preview platform come with allot of type and development option with so much cool sets of APIs.
You have deferent type Applications for unlimited possibilities with you existing skills. Now this time you exclusive categories for SharePoint App. WebPart, SharePoint Page,SL App with in iframe. And also leverage for Client Devices  and Computers. By using Framework application you can exposed,MVC Application. Also Power shell script and timer job available on SharePoint server.
For SharePoint 2013 you don’t need to learn SharePoint Programing you directly start development with you existing skill.
  SharePoint  APIs Impalement.
  • More Web Standards (Odata,Oauth)
  • More Client Side Support 
  • Improved Rest Model and EndPoint
  • Odata URL base Query Engine 
  • OAuth Web base identity system. 
  • Mobile Templates. 

  Type of APIs this SharePoint comes.
·         JavaScript (Browser base Client site programing with jquery)
·         Strong Support of javascript Client object Model with inline script and js.file.
·         All functionality is available for javascript same as like .net Framework and Silverlight client object model.
·         By using SharePoint 2013 Javascript Api  you can also do Custom.  It’s really help for developer for creating  sharepoint app with JavaScript SharePoint API because they can use Custom which is not allowed in server side coding.
ASP.NET  (for Sever side Programing include you try MVC this time)
REST/OData  (More web standard for Developer play with SharePoint object in their application with rest endpoint which exposed by  Wcf dataservice. With OData standards and strong Brower base querys synx   )
WFC Data Service Reference
Rest vs OOP
.NET Framework or Silverlight object models
JavaScript object model
REST/OData endpoints called from a Windows platform or JavaScript
Object-oriented programming
Batch processing
APIs for conditional processing and exception handling
Availability of LINQ syntax
Combining list data from different SharePoint web applications
Familiarity to experienced REST/OData developers
Similarity to non-Windows programming or JavaScript programming
Strong typing for list item fields
No (except with LINQ)
Yes, from Windows platform
No, from JavaScript
Leveraging jQuery, Knockout, and other JavaScript libraries
No, from Windows platform
Yes, from JavaScript
.NET Framework (strong Object Model with the Power of C#,,linq)
Windows Phone(out of the Box Support with new Template ,Push notification)
Rest OData and OAuth Support.
Silverlight (end to end Application Support with  Client OBJECT Model API. )
Windows PowerShell (for automation and administrative tasks for Server help for sp admins)

SharePoint Server 2013 Preview Installation for Standalone Machine (dev)

My First Installtion for SharePoint Server 2013 Preview for Development environment. But i have few issue like similar to sharepoint 2010 Beta. show i would like to Share and hope you can also same time. 
Per installation Check:

Software (not Required except SQL SERVER BUT FOR DEVELOPMENT I INSTALL VS2012)
Check Server Role
Developer will love to .net 4.5 feature in SharePoint 2013 so its Important 🙂
Runt SharePoint 2013 Perrequisiteinstaller.exe
Per-requisite Software has been installed and Configured

Run SharePoint 2013 Setup.exe
After the of Completion of basic installation 
SharePoint Product Configuration started 
Chose  New Server Option
If Configuration Failed on Creation and Configuration of database and Give Error some like that.
 Failed to connect to the configuration database.
An exception of type System.Management.Automation.CmdletInvocationException was thrown.  Additional exception information: ErrorCode:SubStatus:Service running under Network Service account in workgroup environment is not supported.​ 
If you running Application without AD or Stand Alone might you will received that error.
   Go to Sql Server Management Studio
 >loacl/SharePoint (Instance)>security>Login>Administrator>Properties>ServerRole> and Check setadmin.
then go to Startmenu>SharePoint Power Shell>Execute this Command blow to for psconfig to
AppFabric Caching Service and Sql Server Agent to on these server on server.

psconfig.exe -cmd Configdb Create SkipRegisterAsDistributedCacheHost
Then Run Again the SharePoint Product Configuration.
Error No 2
Might be You got another Error 
 Failed to connect to the configuration database.
An exception of type System.Management.Automation.CmdletInvocationException was thrown.  Additional exception information: ErrorCode:SubStatus:Service running under Network Service account in workgroup environment is not supported.​ 
SEARCH Application Service Error like SharePoint 2010 Beta 

but you see new instance of SharePoint Administration is working fine.

to See the error that you face in Product config. check Centeral Administration Services >Applications> Search Service Applicaiton you can see its stoped and show error.

First Time Ruining SharePoint 2013 Root Site(Team Site)

Hope you this article will help you install SharePoint 2013 it quit bit same experience like i had in SharePoint 2010 beta. enjoy SharePoint keep SharePointing…………………
Reference Link
Prepare for installation
more Reference 

By Usama Wahab Khan. 

SharePoint 2013 Office 356 First deep jump

Office 365 is really amazing with beautiful Metro UI experience and new Feature like App Part,Flow,OAuth is great.Full Cloud support and Office app,App Store.  Here few details about changes in SharePoint 2013 (Office 365) (Team Site ) (Public Site)

Mysite office 365 (SharePoint 2013)

New Metro UI and almost same like 2010

team site (SharePoint 2013)

New metro live tiles and easy access for contents. share others, team site

task and calenders (SharePoint 2013)

public wiki site (SharePoint 2013)

oauth (SharePoint 2013)

SharePoint 2013 introduce new identity architecture based on oauth 

soical plug in (SharePoint 2013)
sharepoint App Store (SharePoint 2013)
after success of windows phone finally microsoft introduce apps store sharepoint 2013 publish apps and also used them in share point application with new social application management system.
new task list (SharePoint 2013)
drag and drop image uploader (SharePoint 2013)
site editing (SharePoint 2013)
improved UI and new slides effects ribbion is very nice
new metro popup (SharePoint 2013)
creating box (SharePoint 2013)
save doc in word (SharePoint 2013)
site contents(SharePoint 2013)

calender (SharePoint 2013)
People (SharePoint 2013)
site settings (SharePoint 2013)
(Central Administration) SharePoint 2013
info-Path (Central Administration) SharePoint 2013
User Profile (Central Administration) SharePoint 2013
BCS (SharePoint 2013)
term Store (Manage Search TAXONOMY ) (SharePoint 2013)
Source Store (Central Administration) SharePoint 2013 office 365
manage your credentials source service
SharePoint App form App Store (SharePoint 2013)

Software and Hardware Requirements for SharePoint 2013

Minimum Hardware Requirements

  • Processor: 64-bit, 4 cores
  • RAM:
  • 8 GB for production use

  • 4 GB for developer or evaluation use
  • Hard disk:
  • 80 GB free for system drive
  • Maintain 2x free space as available RAM
Deference between SharePoint 2010 and SharePoint 15(2013)
Database Servers
  • Processor:
  • 64-bit, 4 cores for “small” deployments
  • 64-bit, 8 cores for “medium” deployments
  • RAM:
  • 8 GB for “small” deployments
  • 16 GB for “medium” deployments
  • Hard disk:
  • 80 GB free for system drive
  • SP Data Storage dependent on corpus
  • size, performance requirements, etc.
Software Requirements
64-bit edition of Microsoft SQL Server 2008 R2 Service Pack 1
64-bit edition of Windows Server 2008 R2 Service Pack 1 (SP1) Standard, Enterprise, Data Center, or Web Server

Database Servers – Minimum Software Requirements

Database Servers – Optional Software
  • 64-bit edition of Microsoft SQL Server 2012 RTM (i.e. not Release Candidate 0 / RCO)
  • SQL Server 2012 RTM Manageability Tool Kit
  • SQL Server 2012 RTM Native Client 64-bit
  • SQL Server 2012 RTM SQL ScriptDom 64-bit
  • System CLR Types for SQL Server 2012 RTM
  • SQL Server 2012 RTM Transact-SQL 64-bit
  • SQL Server 2012 RTM Data-Tier Application Framework 64-bit
64-bit edition of Windows Server 2008 R2 Service Pack 1 (SP1) Standard, Enterprise, Data Center, or Web Server
Browser Compatibility