I found a wee issue with the ASP.NET MVC Web Application template with the Authorize
attribute. Initially I was in two minds whether to convert the existing app or create a new project from template and port the code over - I took the second option as this usually causes the least amount of angst in the long run..
So the issue was found when trying to use the Authorize attribute to redirect to the template login page. By default the has web.config with the following authentication section
<authentication mode="Forms">
<forms loginUrl="~/Account/LogIn" />
</authentication>
but the AccountController action is called LogOn! Note the subtle difference between LogIn and LogOn...