The official ASP.NET documentation mentions KnockoutJS as an option for building a Model-View-ViewModel (MVVM) web application; refer to http://docs.asp.net/en/latest/client-side/knockout.html .
KnockoutJS is a popular JavaScript framework that you can use by itself, or with jQuery, and other JavaScript libraries. It uses the MVVM pattern on the client side and facilitates data binding between HTML elements and JavaScript variables.
Similar to AngularJS, the easiest way to set up KnockoutJS to your web application in Visual Studio 2015 is to update your bower.json
file in a new web application. Once again, launch Visual Studio 2015, click on File | New | Project, and then create a new Web Application using the new ASP.NET Template (not the empty one).
Just like previously, this should automatically create a bower.json
configuration file that you can edit. Add an entry for "knockout"
under "dependencies"
. You may use...