Boy Meets 'Hello World'

Blogging the journey from College Grad to .NET Developer

  Home  |   Contact  |   Syndication    |   Login
  11 Posts | 0 Stories | 6 Comments | 0 Trackbacks

News

Archives

Post Categories

They'll be calling you a radical

Lyrics of "The Logical Song", by Supertramp My attempts to change the world, one idea at a time.
Recently, after some analyzing some of the controllers I was building using ASP.NET MVC, I found that my controllers typically have the same pattern. They all have some dependencies injected into them through the constructor, each action calls a method on one of the dependencies (typically using the arguments of the and gets a result back), and depending on the result, an ActionResult is returned. Now, writing the tests wasn't tough. But, I dunno, I guess I'm REALLY lazy. So I started looking today...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati