Using MVCContrib glue to bring Visual Basic WebForms and C# MVC togeth

added by Matt_TCF
7/9/2010 12:20:20 AM


I’ve found myself in the less-than-desirable situation of having to work with WebForms again. After working almost exclusively with ASP.NET MVC for the better part of three years, the inadequacies of WebForms seem even more prominent. While running MVC and WebForms in the same applications is easy enough, we’re facing an added complication: our WebForms application was written in Visual Basic. While you can’t mix-and-match C# MVC and VB WebForms within the same application directly, you can leverage MVCContrib’s Portable Areas to bring the two together, which is what I’ll show you how to do in this post.