Book Image

Getting Started with Knockout.js for .NET Developers

By : Andrey Ankshin
Book Image

Getting Started with Knockout.js for .NET Developers

By: Andrey Ankshin

Overview of this book

Table of Contents (14 chapters)
Getting Started with Knockout.js for .NET Developers
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 the acquired application with the Knockout MVC library. We will learn how Knockout MVC can help us to simplify the development of applications based on Knockout.js.