ÖreDev Day 2 - ASP.NET MVC with Scott Allen
November 3, 2009
Now we’re getting into the “real stuff” or rather IT-related stuff.
I am now attending a session with Scott Allen, who is a great guy by the way, on ASP.NET MVC. As readers of this blog know I love this framework already since it got me back on understanding web development again.
OK - since Scott is dropping god nuggets as he speak, I thought that I put it here as we go, in no particular order;
- When you create the “URL template” for routing you can specify anything you want. For example
{controller}/{action}/{category}/{locale}
would fill the category and local with anything passed to the URL or null if not set. - Learn and use MVC Contrib
- MVC Contrib. Set the project-file-setting MvcBuildViews to get compilation errors for errors in the views. This slows builds down so don’t use it when not needed. ...