Thursday, April 22, 2010

SharePoint 2010 Tips

* Pre-allocate tempdb to optimize SharePoint read/write operations (performance)

* Use Excel syntax to create field validation rules

* Use external lists (BCS) to easily manage data through different SharePoint lists from different sites/site collections

* use JQuery and JavaScript with intellisense and debugging with Visual Studio 2010 (OOTB) and Visual Studio 2008 (needs SP1, KB958502 & vsdoc file --> /// <reference path="jquery-1.2.6-vsdoc.js" />) more info

* use Ajax webparts with no additions or script managers

* use JQuery to replace Ajax in assynchronous actions

* use List relationships with referential integrity, (with restrict delete or cascade delete)

* use multiple column lookups

* don't use foreach (list.items). instantiate listcolection first and use a for 0 to list.items cicle

* don't instantiate new SPContext, SPWeb or SPSite in WSP solutions (use SPSite from properties)

No comments:

Post a Comment