O'Reilly logo

Getting Started with Knockout.js for .NET Developers by Andrey Akinshin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required