January 2007 Entries

The ClassResourcePath for custom webparts in MOSS 2007

At Macaw we've been using standard project templates for most of our development projects for years. In the project template for custom webparts for SharePoint 2003 we've had a basewebpart. All custom webparts for SharePoint 2003 inherit from the basewebpart. On of the things the basewebpart takes care of is determining the ClassResourcePath. Custom web parts can be deployed to the wwwroot/bin directory or to the global assembly cache (GAC). The deployment location also affects the location where resources (for instance usercontrols and images) that are required by the web part are stored. For GAC deployments, the directory is...

MOSS 2007 Performance guidelines

In order to keep your MOSS 2007 solution fast and scalable you should take the following guidelines at heart:http://technet2.microsoft.com/Office/en-us/library/6a13cd9f-4b44-40d6-85aa-c70a8e5c34fe1033.mspx?mfr=true If you look at the "Guidelines for acceptable performance" the first thing you should be aware of is that Microsoft makes a distinction between "web sites" and "sub sites". Where web sites are actually the first sub sites under a site collection, and sub sites are the sites under the web sites. The total number of web sites and sub sites together in one site collection should be 250.000. So if you've got less web sites, you can...