Multi-Project (Portable) Areas Walkthrough

Posted on May 6, 2010April 17, 2021Categories codeTags , , 17 Comments on Multi-Project (Portable) Areas Walkthrough

With MVC2, the MVC team introduced Areas, a way to decompose and organize a large MVC application into smaller sub-applications.  The guys who work on MvcContrib built on top of this the concept of Portable Areas. The Asp.NET site has an intro video on Areas here. Eric Hexter gives a good overview of portable areas here, and he talks about it with Jeffrey Palermo on the Polymorphic Podcast here. Eric and Jeffery wrote pretty thorough walkthroughs of portable areas, but they’ve since … Continue reading “Multi-Project (Portable) Areas Walkthrough”

A Concept Falls in the Woods…

Posted on December 9, 2009Categories codeTags

If a concept in your software is not actually represented in your code, does it really exist? As a simplistic example, if your customer or user thinks of your application in terms of “notes”, but there is no code that describes anything called a “note”, that concept is not represented in your code.  One significant thing an agile development team can do to make a code base more agile (supple) is to ensure that there is a high degree of … Continue reading “A Concept Falls in the Woods…”

Thoughts on C# Generic Constraints

Posted on December 3, 2008Categories code, UncategorizedTags ,

A teammate and I were musing about generic constraints the other day, comparing them to checked exceptions in Java.  So I found it amusing that Jeremy Miller came to the same point with Scott Allen yesterday: Question of the Day — What’s Worse?… generic constraints, or checked exceptions [in java]? Wouldn’t it be nice if we could “break the chain” of constraints at some point, when the calling code ceases to care?  Since I don’t know of a pattern for … Continue reading “Thoughts on C# Generic Constraints”