Info
Version: | 0.6.0 |
Author(s): | Perpetuum Software LLC |
Last Update: | Tuesday, August 12, 2014 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://knockoutmvc.com/ |
NuGet Url: | https://www.nuget.org/packages/kMVC |
Install
Install-Package kMVC
dotnet add package kMVC
paket add kMVC
kMVC Download (Unzip the "nupkg" after downloading)
Dependencies
- knockoutjs(3.1.0)
- Knockout.Mapping(2.4.0)
- DelegateDecompiler(0.9.1.0)
- Newtonsoft.Json(6.0.4)
- jQuery(2.1.1)
And any change of the model will result in dynamic refresh of the interface.
Knockout MVC is a library for ASP.NET MVC3/MVC4 , that is a wrapper for Knockout.js, that helps to move entire business logic to the server side: the complete JavaScript code necessary on the client side will be generated automatically based on the described C# (or VB.NET) model. Binding of the page interface to business model is done MVVM-style with the help of C#/VB.NET expressions (not separate properties, but expressions over them that will be translated to JavaScript code) using IntelliSense.
If complex operations should be done to the model, it is possible to address to any model method on the server using one short string (ajax query will be automatically generated; and when the client will get the updated model, the whole interface will automatically refresh).
Generated JavaScript code is based on Knockout.js and that is why it works under any browser (even IE 6). Thus, describing the whole business logic on the server in a single instance we get an ability to create fully-featured cross-browser client Web application without writing a single JavaScript code!.