Kris Krause .NET Meister

"If it is fast and ugly, they will use it and curse you; if it is slow, they will not use it."
- David Cheriton, The Art of Computer Systems Performance Analysis

Wednesday, February 25, 2009

Unit Testing ASP.NET App_Code

I learn something new every day. Today, its the ability to Unit Test code in the App_Code folder using Visual Studio 2008 Professional.

Most of the ASP.NET projects that I work on have their business logic contained in a separate assembly. However, a recent smaller project has some business classes residing in the App_Code directory.

Tip: Just make sure you watch your dynamic port assignments.

Labels: ,

Tuesday, February 17, 2009

Disable the Shutdown Event Manager in Windows Server

Want to get rid of this screen (Shutdown Event Manager) in Windows Server 2003 and Windows Server 2008?

Shutdown Event Manager

Do this:

Start -> Run -> gpedit.msc

Computer Configuration -> Administrative Templates -> System

Disable "Display Shutdown Event Tracker"

Labels: