Useful snippets

I had two small “breakthroughs” while coding today that saved me quite a bit of time.  The first dealt with mocking HtmlHelper<T> with Moq for unit testing purposes: /// <summary> /// A mocked-out <see cref="HtmlHelper{TModel}"/> that can be used for testing. /// </summary> /// <typeparam name="TModel">The view model type.</typeparam> public class FakeHtmlHelper<TModel> : HtmlHelper<TModel> where […]

person Matt Honeycuttaccess_time December 28, 2009launch Read More

My best (or worst) MVC hack to date…

I really don’t know if I should be proud or embarrassed by what I just implemented.  I’m going to go with “embarrassed”.  If anyone sees a better way to do it, let me know. The Problem I have a multi-tab interface (via jQuery UI  tabs).  The view is strongly-typed and has a view model, so […]

person Matt Honeycuttaccess_time December 11, 2009launch Read More

A day in the life of a developer

I just got off the phone from a very frustrating conference call.  Today’s call brought to light something that I want to address.  It’s a misconception that many non-developers have about software developers.  I know this misconception exists because of the way I’ve heard people refer to our profession; because of the way non-developers in […]

person Matt Honeycuttaccess_time December 9, 2009launch Read More