Articles : Page 1 of 1

  • A Better ASP.NET MVC Mobile Device Capabilities ViewEngine

    A Better ASP.NET MVC Mobile Device Capabilities ViewEngine

    Nov 10
    17

    In March of 2009 I spoke at Mix 09, Microsoft's Web Conference and presented a number of ASP.NET MVC features. I extended the NerdDinner Sample with a naive implementation of what I called a MobileCapableWebFormViewEngine. Here's the basic implementation. Don't use this, it's broken. public class MobileCapableWebFormViewEngine : WebFormViewEngine{ public override ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache) { ViewEngineRes...



  • 1