Unknown's avatar

Posts by Simon Doy

I am an avid SharePoint enthusiast who works as an Independent SharePoint Consultant based in Leeds, United Kingdom. I am one of the organisers of the Yorkshire SharePoint User Group in the United Kingdom. I have been designing and building SharePoint solutions since 2006.

>SharePoint 2010 Conference – Content and Code Posts


>I am so jealous but a few of my colleagues at Content and Code are at the SharePoint 2010 Conference and they are blogging some great content about all the new features being released.

Definately worth checking out here: http://community.contentandcode.com/

Well back to finishing the deployment of the latest project I have been working on πŸ˜‰

>SharePoint 2010 – Emphasis on resource efficient code


>From the reading that I have been doing about SharePoint 2010, one of the areas that Microsoft seem to be trying to tackle is allowing people to build components that are not too resource hungry.

Whilst reading the SharePoint 2010 Server Core Class Library documentation one of the namespaces that looked interesting is the Microsoft.Office.Server.Utilities. In here are delegates which can be called to enumerate SharePoint objects. The advantage (and this is purely from the documentation) is that they enumerate without consuming too many database resources.

Another feature that I have already mentioned is the sandbox solution which allows a site administrator to deploy a wsp solution file with code to a particular site. The code that is deployed by this solution is then run in a separate process with limits on the amount of resource that it can consume.
 
With SharePoint being a shared platform which can be used by many different areas within the business implementing code which is scalable and efficient in terms of resources used is going to become more important and undoubtable be a best practice in similar vein as disposing of SPSite and SPWeb objects correctly.