Just started learning the new asp.net mvc4 SPA template , noticed that knockout is being used , so give me reference to any book / Video which describes asp.net mvc with knockout.js from scratch .
A really good start is to work through the tutorials step by step on the knockoutjs.com site, the tutorials are brilliantly put together and there are live examples which help to demonstrate "real world" scenarios.
Once you are comfortable with the knockout constructs this article gives a basic but good illustration of integrating pure knockout with MVC controllers, models and views.
An alternative approach is to use knockoutMVC although it is important to point out that this is an extension of knockout.js and is definitely not required to get knockout working really well in an MVC project (I don't use this but thought I would include for completeness).
Finally if you want to get more advanced, this SPA guide is a very useful 4-part tutorial on creating a Single Page Application with Knockout and MVC.
try this site for details on integrating knockout with MVC controllers, models and views:
<-- as youre implying knockoutjs requires knockoutmvc to work with MVC which it doesnt and in fact knockoutmvc may be a bad way to combine the two. –
Flabbergast © 2022 - 2024 — McMap. All rights reserved.