Chris Stuff
Categories
-
Recent Posts
Recent Comments
Archives
- February 2013
- January 2013
- December 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- December 2011
- May 2011
- March 2011
- December 2010
- August 2010
- May 2010
- March 2010
- February 2010
- January 2010
- December 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- January 2009
Author Archives: Chris Missal
Debug It!
If there’s one thing I like about programming computers, it’s the ability to tell a machine exactly what to do. –insert Skynet reference here– With that said, I wanted to learn some more tips, tricks and techniques to figure out … Continue reading
Posted in Best Practices, Book Review, Development, Testing
2 Comments
Working With Assertions Made on Arguments in Rhino Mocks
Today when modifying what we call an “order notifier” (essentially observers that are notified when an order is placed), I was having trouble figuring out why my test was failing. The project is written in C# and this test … Continue reading
Posted in Best Practices, NUnit, RhinoMocks, Testing
7 Comments
One Year of Production ASP.NET MVC
Last week marked the one year anniversary our team’s first ASP.NET MVC application in production. We really have two different types of production. Internal and external. While an internal application might get used by 2 to 100 people, our external … Continue reading
Posted in ASP.NET MVC, Development
6 Comments
Why is CruiseControl.Net Hiding My Test Results?
Some time ago, I noticed a CruiseControl.Net build report with thousands of unit tests passed, zero failed and a dozen or so skipped, suddenly showing that no tests were run: I immediately thought somebody did something really bad. After some … Continue reading
Posted in Continuous Integration, NUnit, Testing
1 Comment
What is Projection?
I think there’s great benefit in not only knowing how to design your code to use common patterns but also to be able to speak about them clearly and concisely to others. If I mention that the problem sounds like … Continue reading
Posted in Communication, LINQ, Reading Code
10 Comments
Unique Keys versus IDs in Web Applications
An ID is a fine way to uniquely identify an object, the common usage is also very user un-friendly. A while back I was watching a presentation by Jeffrey Palermo on Community For MVC.Net, then later at a live presentation … Continue reading
Posted in Best Practices, Development
9 Comments
Unit Testing Simple ASP.NET MVC Controllers
I have created enough simple projects using ASP.NET MVC with unit tests to notice a very helpful pattern. The following is a sample of a test fixture using RhinoMocks and NUnit to test a controller. 1: [TestFixture] 2: public class … Continue reading
Posted in ASP.NET MVC, Development, DRY, Moq, NUnit, RhinoMocks
6 Comments
How I Approach a Defect
Lately I’ve been tracking some of the steps I go through in a given day or week. I was fixing a bug the other day when I decided that I should write down all the mental notes I refer to … Continue reading
Posted in Best Practices, Continuous Improvement, Development, Testing
2 Comments
Reading Code, Spark’s Once Attribute
For those who don’t know what Spark is… Spark is an open source view engine for Castle’s MonoRail Project (version 2.0 just recently released!) and ASP.NET MVC. The creator of Spark, Louis DeJardin, came up with the project in a … Continue reading
Posted in ASP.NET MVC, Open Source, Reading Code, Spark
1 Comment


Comments are the Devil
I recently read Chris Coyier’s article entitled Show Markup in CSS Comments. I was actually a bit angry that so many responses praised this and so few were turned off from the idea. I appreciate the idea of making things … Continue reading →