Follow Me!
Bio
I am an Architect for Dell.com on the Engineering Excellence team. I (co)Founded MvcContrib, Should, Solution Factory, and Pstrami open source projects. I have co-authored MVC 2 in Action, MVC3 in Action, and MVC 4 in Action. I am a Microsoft MVP.
I have founded some online conferences like aspConf, mvcConf, Community For MVCBlog Series
Ads
-
Recent Posts
- using the asp.net lego blocks to create a synchronized Kanban board.
- Tip to become a successful software engineer.
- ASP.Net Web Config Transform Console Utility released on nuget
- Are your unit tests still hard to read ? – Should Assertion Library
- Using sql compact for integration tests with entity framework.
- using MVC Navigation Routes in Twitter.Bootstrap.MVC4
online
Category Archives: Design
Poor use of DI versus need for DI
Surprise surprise, but Uncle Bob got the twitterverse all riled up with another opinionated post, “Dependency Injection Inversion”. His basic advice from the post on DI tools is: I think these frameworks are great tools. But I also think you … Continue reading
The Template Method is a lie
In my recent adventures with controller-less actions, and trying to solve the issue of the crazy CRUDController mess I had put myself (and our team/project) into. While some gravitate towards the Singleton pattern to abuse after they learn the GoF … Continue reading
Getting stuck in the weeds
While plowing through some AutoMapper support issues this weekend, I got a rather troubling one, where a developer got a rather scary exception message: “Operation could destabilize the runtime” Well that’s disturbing. It all came about because they were trying … Continue reading
Comments Off
When is Poor Man’s Dependency Injection appropriate?
When is Poor Man’s Dependency Injection appropriate? Only in legacy code situations. That’s it. I was called out appropriately on forgetting this, but legacy code, where I have to apply dependency-breaking techniques, does not always afford the opportunity to apply … Continue reading
Comments Off
Real World Refactoring
If you’ve ever asked, or been asked, for an example to illustrate a software design principle, you know how frustrating it can be to work with a contrived example. There is rarely any depth to the example, and it lines … Continue reading
Also posted in .Net, c#, testing
3 Comments
Simplest versus first thing that could possibly work
One of the core XP practices that resonated with me quite early on was the concept of simple design. When I learned TDD, this practice was further refined with the concept of doing the “simplest thing that could possibly work”. … Continue reading
Comments Off
Defining and refining conventions
At last night’s ADNUG talk, Jeremy Miller talked about Convention over Configuration, and many of the principles the Rails community embraces. He showed a few examples of opinionated software, such as FubuMVC. One thing I would have liked more conversation … Continue reading
Comments Off
Beyond top-down design
Here at Los Techies, we talk a lot about SOLID principles and design. Two of the principles that have always resonated with me are the Single Responsibility Principle and the Dependency Inversion Principle. With the two together, the need for … Continue reading
Comments Off
Entity interface anti-pattern
This has been discussed many times before on various mailing lists, and I’m sure there are blog posts about it that are eluding me currently, but I’ll put it out there anyway. Interfaces on entities are an anti-pattern (when … Continue reading
Also posted in Uncategorized
Comments Off
Refactoring legacy code
Lately my co-worker asked me to pair with him and make a code review with him of one of his projects. After having spent some hours on refactoring this legacy application together with my co-worker I want to share some … Continue reading
Also posted in c#, silverlight, testing
2 Comments

