Creating an application with Knockout.js

In this section, we will update a sample with Knockout.js from the previous section. For this purpose, we will create a new project with similar functionality and reprocessed source code. We will compare two samples (with and without Knockout.js) to understand how Knockout.js can help us develop a rich ASP.NET MVC application the easy way.

Motivation

The current state of our HomeLibrary project has one fatal drawback: Add and Delete actions entail a full page reload. This has a negative impact on the volume of traffic and the speed of query execution.

In the real application, it can be a serious problem. Just imagine: you have a very big page and the user wants to update only a small part of it. In this case, ...

Get Getting Started with Knockout.js for .NET Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.