Using NuGet to install your ORM into Visual Studio

Visual Studio Benjamin Perkins

I have spent a lot of time Working with NHibernate 3.0 and now am also giving some attention to the Entity Framework. One of the road blocks for using NHibernate is the initial configuration requirements. There are a significant number of actions which must be taken to get NHibernate working, where as, the Entity Framework […]

Read More →

Web Farm Framework Architecture

I am very excited about the Web Farm Framework (WFF). Having administered many web farms in my past, this technology resolves a lot of the activities which where a burden. This blog will show a standard architectural configuration of a WFF environment. Figure 1 shows the controller server, the primary server and the multiple secondary […]

Read More →

Enable and Activate Failed Request Tracing Rules

IIS Benjamin Perkins

There is a new troubleshooting capability available in IIS 7, it is called Failed Request Tracing Rules. It provides a lot of very useful information which can help pinpoint the cause of performance problem or error. At the moment it is not installed by default and you may see the setting as shown in Figure […]

Read More →

NHibernate MappingException could not compile mapping document

NHibernate Benjamin Perkins

This is a fairly common error message which a programmer will receive during the NHibernate mapping process. The inner exception was: {“persistent class NAMESPACE.CLASSNAME, NAMESPACE not found”} {“Could not compile the mapping document: NAMESPACE.CLASSNAME.hbm.xml”} The root cause of this error was that the class (class.cs) existed in the NAMESPACE.Common namespace and in my mapping file […]

Read More →

How to sort by month in SQL Server

Benjamin Perkins C#

This is a older blog which I am migrating, you can see how the older website looked like here. You can see on the Blog.Archive() navigation bar on the right of this page that I present the Year, Month and number of blogs which I have written each month. Everything worked fine from October 2010 […]

Read More →

Add a Masked Textbox control to a WPF program

Benjamin Perkins C#

I found some very creative and technically challenging examples for adding a masked textbox control to a WPF program. Most of them required the creation of a new class inherited from the base System.Windows.Controls.TextBox class. This is a valid option, however, I have implemented a different approach. I discovered the System.Windows.Forms.Integration.WindowsFormsHost class which is specifically […]

Read More →