Author: you've been HAACKED | Posted on: 11/16/2008 3:00:02 PM | Views : 793

One of the relatively obscure features of ASP.NET view rendering is that you can render a single view using multiple view engines. Brad Wilson actually mentioned this in his monster blog post about Partial Rendering and View Engines in ASP.NET MVC , but the implications may have been lost amongst all that information provided. One of the best features of this new system is that your partial views can use a different view engine than your views, and it doesn?t require any coding gymnastics to make it happen. It all comes down to how the new view system resolves which view engine renders which views. Let?s dig into a brief example of this in action to understand the full story. Lately, I?ve been playing around with the Spark view engine lately...(read more) ...

Go to the complete details ...