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, you learned how to use some advanced features of Knockout MVC. One of the most useful features is regions, such as foreach, with, and if. Also, real-world applications often require that complex binding be made for some elements or that parameters be sent to the server via method arguments. Advanced applications may need to show several view models on the same page or make lazy data loading. Knockout MVC also supports all these features. It allows you to create very powerful and flexible web applications in pure C#. If you want to implement a part of the logic on the client and also avoid unnecessary requests to the server, you can use computed properties (also in pure C#—it will automatically transform into JavaScript) or write some custom JavaScript code.