text: During SharePoint development you just need a whole bunch of sites. Creating them just for test purpose using the central administrations seems to be to much hassle. Instead I created a little batch-file to take care of spinning up a new test-site.
  Basically you just have to edit the variables at the beginning of the script. Just specify the port, the site name, title and description. The name is used to create the web-application, application pool, the database and the stuff.
  When working with SharePoint objects, the correct usage of dispose is a re-occuring question. To answer all thoses questings you can grab SPDisposeCheck. This tool allows to test your solution for the correct usage of the dispose-pattern.
  Yesterday a new version 14.0.4762.1000 was released, which now also offers checks, when a dispose is being called, when it is actually not needed.