Home Atom Json RSS

Reference

A collection of articles on various topics that interest me. Written mostly in order to document my own solutions to problems, and published in the hope that they may help others save some time.

2011

jQuery Plugin to Convert CSS Pixels to em, pt, percent and other Units

This article presents a small jQuery plugin to convert the dimensions of HTML objects to various CSS units, such as em and percent. The code is based on a popular implementation from the internet and fixes a subtle problem with the original conversion calcuation.

~ Read

Disabling Client-side Caching in RavenDB

While editing documents in RavenDB Management Studio for testing, it became evident that the changes were not reflected in the website that was using the database. By default, RavenDB caches client queries. This article describes how to disable this feature, should the need arise.

~ Read

10 Command-Query Responsibility Segregation (CQRS) Examples in C#

Software architectures using Command-Query Responsibility Segregation and Event Sourcing combine a range of design patterns and ideas from Domain Driven Design. Although the individual concepts are relatively easy to grasp, understanding the entire architecture can be a daunting task, especially for developers who have limited or no experience with DDD and Enterprise Software Architecture.

~ Read

Fixing MSExchange ADAccess Event 2937 PreviousDatabase

Active Directory stores a reference to each user’s previous mailbox database. In some cases, the value in this property may point to a database that no longer exists, i.e. when an Exchange server has been incorrectly removed from the domain or if the old mailbox database has been deleted.

~ Read

Adding Email-enabled SharePoint 2010 Lists to Exchange 2010 Address Book

After a long struggle you finally have successfully configured SharePoint 2010 and Exchange 2010 to support email-enabled lists and folders on SharePoint, and now you’re trying to figure out how to get convenient access to those email addresses from within Outlook or other email clients. This article describes how to end your day on a happy note.

~ Read

Integrating Project 2010 Scheduling Columns with TFS 2010

Microsoft Project 2010 has out-of-the-box support for Team Foundation Server 2010, and the relevant features become available automatically right after Team Explorer is installed on the client computer. One feature that first appears to be missing is the integration of Project’s start and finish dates for bug and task work items. This article describes how to enable support for those columns.

~ Read

Removing an Exchange 2010 Server that no longer exists

If you removed an Exchange 2010 server from your network without properly uninstalling it, either because you experimented with it on a test box or on a virtual machine, or because the computer got hit by a meteor strike, you may notice that the server continues to exist in the network’s Active Directory and shows up in the Exchange Management Console. This article describes how to clean up the left over artifacts in your domain controller without having to reinstall your entire infrastructure.

~ Read

Installing Windows Server 2008 R2 on Dell PowerEdge 1850, 2850

Many data centers have been updating their hardware to servers that support virtualization, so there are a lot of older Dell PowerEdge 1850s and 2850s available on eBay and Craigslist right now.

~ Read

2010

WordPress Could Not Create Directory, Plugin Upgrade Failed On IIS

Upgrading plug-ins in Wordpress 5.2.x or 5.3.x may fail on IIS 7 due to a bug in the Windows Cache Extension for PHP.

~ Read

Named Pipe Support Broken in PHP 5.3.x on Windows

Named pipe support is apparently broken in PHP 5.3.x on Windows.

~ Read