Programmatically adding Web Parts to a page

I have recently had to come up with a way to programmatically add a Web Part to a large number of existing publishing pages. It took me a little while to find the exact way to do it, so I thought I would post the source code here. Attached is the C# code that will…


SharePoint Test Data Load Tool

A couple weeks ago, the SharePoint product team announced the SharePoint Test Data Load Tool. You can find a brief article on TechNet and download the tool from CodePlex (as well as the full source code!) I have used a preliminary release of this tool on a recent project, and it’s absolutely invaluable when you…


OWA Web Part with single sign-on

Office SharePoint Server 2007 (aka MOSS2007), like SharePoint Portal Server 2003 before it, offers a built-in Web Part for integration with Outlook Web Access (aka OWA). Unfortunately, this Web Part has a number of limitations: It needs to be configured manually by the user in order to specify the OWA URL as well as the…


Welcome to my blog!

Welcome to my brand new MSDN blog, where I intend to dump all my SharePoint- and ASP.NET-related rants.