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”

Thoughts on C# Generic Constraints

Posted on December 3, 2008Categories code, UncategorizedTags ,   Leave a comment on Thoughts on C# Generic Constraints

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”