Summary

In this chapter, we started with a very simple ASP.NET MVC application to store information about the home library. The first version of the application (HomeLibrary1) was developed in pure ASP.NET MVC without additional JavaScript code. After that, we updated the internal logic with the Knockout.js library (HomeLibrary2). Thanks to the AJAX request, we were able to interact with the user without regular full page reloads. This approach reduces traffic, improves the performance, and makes the design more responsive. Knockout.js provides us with an easy way to create a view with declarative bindings. We shouldn't worry about writing JavaScript code for UI update; Knockout.js would take care of this for us.

In the next chapter, we will update ...

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.