In this section, we covered a huge number of useful Knockout.js features to build medium-size MVVM applications. We got acquainted with a set of standard bindings, including text and appearance bindings (text
, html
, css
, style
, attr
, and visible
), form field bindings (value
, click
, submit
, event
, checked
, enabled
, disabled
, options
, and selectedOptions
), and control flow bindings (foreach
, if
, ifnot
, and with
). Also, we considered special kinds of observable properties, which very often come in handy during development: computed observables and observable arrays.
In the next chapter, we will apply this acquired knowledge to the ASP.NET site. We will look at how to integrate the Knockout.js library in an application and how to link client JavaScript and server C# logic.