SelectList is not selecting my “selectedValue”

I learn something every day whether I like it or not. Today’s lesson: SelectList thinks she’s smarter than you. Observations I was working in an MVC4 app, making some forms light up with some custom HtmlHelpers. Everything is dandy until a drop-down doesn’t re-populate with the previously selected value after …

SelectList is not selecting my “selectedValue”

I learn something every day whether I like it or not. Today’s lesson: SelectList thinks she’s smarter than you. Observations I was working in an MVC4 app, making some forms light up with some custom HtmlHelpers. Everything is dandy until a drop-down doesn’t re-populate with the previously selected value after …

Unit Testing ASP.NET MVC HTML Helpers with Simple Fakes

You will find countless blog posts, forum posts, and Stack Overflow questions concerning the topic of unit testing a ASP.NET MVC HTML Helpers. Unit testing is an art, and I am still a novice. I played around with NUnit between 2004 and 2006. I really enjoyed practicing TDD but couldn’t …