RecoverableException for .NET Framework Solutions

Do you remember the good ol’ days before the ApplicationException class in the .NET Framework became “persona non grata”? I sure do. If you were to look at .NET code that I wrote years ago, you’d probably see ApplicationException being used all over the place. After all, this seemed like a great way to differentiate…

0

Localization and SharePoint Solutions, Part 2 (a.k.a. the CurrentUICultureSwitcher class)

In part 1 of this series, I mentioned how I’ve been involved in several SharePoint projects for large, multinational corporations including Agilent Technologies and KPMG. I also mentioned how one of the sprints last year for my current project was dedicated to creating a Spanish version of a “Client Portal” based on Microsoft Office SharePoint…

0

Virtual Machine Snapshots and SharePoint Development, Part 2

In part 1 of this post, I introduced the way I use VM snapshots to allow me to quickly rollback my SharePoint development VMs to key points in time. For example, I can quickly revert to a “baseline SharePoint Server 2010 configuration” in which no Web applications have been created (besides Central Administration) and the…

0

Virtual Machine Snapshots and SharePoint Development, Part 1

In a comment I made last week on one of my earlier posts, I mentioned how a few months ago I started using Hyper-V snapshots so I can quickly rollback my SharePoint development VMs to key points in time. The following screenshot shows the snapshots for my primary SharePoint Server 2010 development VM (FOOBAR5): Figure…

0

Using the Simple Recovery Model for SharePoint Development Environments

A little more than three years ago, I blogged about the default recovery model for various SharePoint databases. In that post, I described how I would often toggle the SQL Server databases in SharePoint development environments from the default Full recovery model to Simple before migrating content. Since you typically don’t care about potential data…

0

Creating Small VHDs (< 1GB) for Hyper-V

In my previous post, I explained how I like to create separate VHDs for data and log files in my SharePoint development VMs. However, given the very small amount of content that I typically load into a SharePoint development environment, these VHDs certainly don’t need to be very large. In the past, I’ve typically created…

0

CDL for SharePoint (a.k.a. "You can never have too many spindles")

In the United States, “CDL” typically refers to a Commercial Driver’s License — but since I don’t drive trucks for a living, I use the acronym for something entirely different. To me, these three letters correspond to the minimum number of drives I like to see on any server running SharePoint Server 2010 — or…

0

Operations Manager Alerts for Event Log Errors

One of the things I like most about running System Center Operations Manager in the “Jameson Datacenter” (a.k.a. my home lab) is that it greatly reduces the amount of effort required to monitor numerous servers. For example, in my environment I am currently monitoring 10 servers 24×7. To some infrastructure folks out there, this might…

0

Removing "Stale" Network Adapters in Hyper-V VM

Each time I create (or recreate) a virtual machine in Hyper-V using one of my SysPrep’ed images, I usually end up having to do a quick Internet search for: device manager show hidden devices I’m a little embarrassed to say that I simply can’t remember the environment variable that I need to set in order…

0