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

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.