Last post Jun 14, 2012 08:02 AM by libin.eferns
Jun 10, 2012 03:52 AM|libin.eferns|LINK
I have just recently installed ASP.net MVC4, but i am missing the Single Page Application template and scaffolding options. Can someone rlease advice me what might have gone wrong.
System: Windows 7 (64 bit)
VS : VS 2010 Ultimate
Have installed latest Web platform installer and have installed:
Service pack 1
Jun 10, 2012 05:16 AM|AWAlger|LINK
Coding is like life, learn from the past and work towards the future, trying to redo past code, ends in lost time and nothing new accomplished.
Jun 10, 2012 10:26 PM|libin.eferns|LINK
Thats what i meant to say. its missing from there. I have the web api template , but not single page application. I am also missing the scaffolding options for single page when i create a controller.
Jun 10, 2012 11:10 PM|libin.eferns|LINK
Alright folks.. I found the answer. Single page templates have been withdrawn from MVC4 RC release and will not be available in the final release too. The team have identified that there are incompatabilities and they would like to work on it further before
Jun 14, 2012 04:45 AM|JJ21|LINK
Are there any work arounds for getting Beta SPA applications working within VS2012?
Jun 14, 2012 08:02 AM|libin.eferns|LINK
Yes you can. Its only the scaffolding options that are missing. As you might or might not know, knockout is a jquery library that will work even without a visual studio.
So how do u get started?
Step 1: Install MVC 4 - (If you have not yet. Though it will work without MVC 4 as well)
Step 2: Create a MVC4 application ( choose any template- Empty,or internet)
Step 3: Now you need to install SPA Scaffolding from this link (Again scaffolding options will be missing, but atleast it will add all other dependencies and scripts required at one go)
Step 4: Follow this amazing video tutorial from Steve Sanderson ( the man behind Knockout.js) - The first part of the tutorial covers using scaffolding options. But then very soon he does things manually.
Hope that helps. Happy Knockoutting :)