Technology Toolbox

Your technology Sherpa for the Microsoft platform

Jeremy Jameson - Founder and Principal

Search

Search

March 2010 Blog Posts

Waiting for SharePoint Web.config Modifications to Finish

This week I finally got around to fixing a bug that would occasionally occur when deploying our solution based on Microsoft Office SharePoint Server (MOSS) 2007. In the solution we use a variety of different features to configure different aspects...

SharePoint Features Activated by Default

Here's something interesting I discovered only recently about Microsoft Office SharePoint Server (MOSS) 2007 -- even though I've been working with the product for years... Any features that are scoped to the WebApplication level are automatically activated...

You'll Have to Pry That Money from My Cold Dead Hands

I've been using Microsoft Money for as long as I can remember. Well, actually I can remember using Quicken at some point before switching to Money. Heck, I even remember tracking my finances in an Excel workbook before that. I just checked my Money...

Incrementing the Assembly Version for Each Build

Last summer I wrote a post about best practices for .NET assembly versioning and made the following statement: The AssemblyFileVersionAttribute should be incremented automatically as part of the build process. In the comments for that post, someone...

AJAX in MOSS 2007 -- The Easy Way, Part 2

In my previous post , I showed how you can quickly create an AJAX-enabled Web application in Microsoft Office SharePoint Server (MOSS) 2007. I also provided a sample AJAX Web Part, illustrated in the following screenshot: Figure 1: AJAX in SharePoint...

AJAX in MOSS 2007 -- The Easy Way, Part 1

In my previous post , I showed how you can quickly create a Web application in Microsoft Office SharePoint Server (MOSS) 2007 and configure it for anonymous access and Forms-Based Authentication. Let's suppose that instead of configuring FBA and anonymous...

Forms-Based Authentication in MOSS 2007 -- The Easy Way

In one of Saturday's posts , I demonstrated how to implement a custom error page on an Internet site powered by Microsoft Office SharePoint Server (MOSS) 2007. For that post I captured various screenshots and sample code from one of my local development...

Introducing the SharePointWebConfigHelper Class

Here is another helper class that I developed that you may find useful when building solutions for Windows SharePoint Services (WSS) v3 and Microsoft Office SharePoint Server (MOSS) 2007. If you use the SPWebConfigModification class to add or modify...

Error Handling in MOSS 2007 Applications

In my previous post , I described the enhancements to my original Logger class for logging exceptions in a consistent fashion. While error handling in .NET console applications and ASP.NET Web applications is fairly straightforward, things get quite...

Logging Exceptions in .NET Applications

Last summer I wrote a post introducing my simple, but highly effective approach to logging -- including a Logger class that is really just a thin wrapper around the System.Diagnostics.TraceSource class. A few months ago, I enhanced the Logger class...

Hyper-V: Getting Host Information from the Guest VM

While working on some documentation today, I wanted to know the names of the Hyper-V servers running the various VMs for our Development and Test environments. [These VMs are running in a Microsoft datacenter on the other side of the planet from where...

Avoiding Problems with the Using Statement and WCF Service Proxies

I encountered a rather nasty issue yesterday on my current project -- a customer portal built on Microsoft Office SharePoint Server (MOSS) 2007 that integrates with multiple external systems via Web services. The database indexes for one of the external...