Upgrade to .NET 4.5.1 MVC 5, Razor 3.

Fixed some api bugs.