KnockOut.js随着Asp.net MVC [英] KnockOut.js With Asp.net mvc

查看:267
本文介绍了KnockOut.js随着Asp.net MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚开始学习新的asp.net mvc4 SPA模板,发现正在使用的淘汰赛,所以给我参考任何书籍/视频描述与从头开始knockout.js asp.net mvc的。

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 .

推荐答案

一个真正良好的开端是在 knockoutjs.com一步通过教程一步工作网站,教程精辟放在一起,有活生生的实例,这有助于展示现实世界的情景。

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.

一旦你舒适的淘汰赛构建这个文章给人纯净集成了基本的,但很好的例证淘汰赛与MVC控制器,模型和视图。

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.

的另一种方法是使用 knockoutMVC 虽然重要的是要指出,这是敲除的扩展的。 js和绝对不是需要得到淘汰赛在MVC项目中工作真的很好(我不使用这个,但想我会包括完整性)。

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).

最后,如果你想获得更先进的,这 SPA指南是与淘汰赛和MVC创建一个单页应用程序非常有用的4部分教程。

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.

这篇关于KnockOut.js随着Asp.net MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆