Statically typed? Compiler checked? Ha!
Just a nod toward the people that cling to static typing with both hands, their teeth and the tail:
RouteTable.Routes.Add(new Route { Url = “admin/[controller]/[action]“, Defaults = new { Controller = “Admin“, Acton = “Index” }, Validation = new { Conrtoller = “Admin|Users|Categories” }, RouteHandler = typeof(MvcRouteHandler) });
Now, instead of abusing the language to get this, can we get first class support for this things?

Comments
Comment preview