SinglePageApplication (SPA) with MVC 4 RC installed

I was recently playing around with the [SPA scaffolding from Steve Sanderson][1] and after installing MVC 4 RC my project stopped compiling for a number of reasons. Searching on the web made it clear that the SPA scaffolding would only work with the Beta not the RC and would also not be available in the final version 4.

Below are some tips and the required NuGet packages to get your SPA project compiling and running again…
[1]: http://blog.stevensanderson.com/category/spa/

To setup correctly after installing RC, first uninstall all packages from Tools > Library Package Manager > Manage Nuget Packages for Solution... on the menubar. If you get any warnings about dependencies, uninstall them first. When all the Nuget packages have been removed, install the following packages:

You might also need to add a reference to System.Web.Http afterwards.

Add a comment if I’ve missed something.

Posted in Blog, Develop
Tweets