Articles : Page 1 of 1

  • Two bugs in ASP.NET MVC 3 and a workaround for both

    Two bugs in ASP.NET MVC 3 and a workaround for both

    Jun 11
    14

    So I spent an hour today arsing about with a couple of ASP.NET MVC 3 bugs. One was a Routing issue that caused it to act differently to MVC 2. The second I found was a FormsAuthentication issue that insisting on sending me to /Account/Login. Amazing how this crept in really given that it was community tested to death with such a massive ASP.NET MVC following so it is a wonder they weren't weeded out and fixed before RTM. Oh well, don't pretend you don't like a challenge. Routing doesn't work t...


  • T4MVC generate lower case paths

    T4MVC generate lower case paths

    Aug 10
    19

    I noticed that my URL paths that are being generated using using T4MVC's excellent MVC templating were coming out in title case. This is a problem since we try to keep all URLs lower case since Google deems URL in different cases showing the same result as duplicate content. I looked through a lot of the code that is generated by the tool and traced the problem all the way to the MyController.generated.cs file: public class ActionNamesClass { public readonly string Index = "Index"; public re...



  • 1