---
title: "Knockout in Asp.Net MVC"  
description: "In this blog, I’m explaining the knockout in asp.net mvc.  Knockout is a JavaScript library that helps you to create rich, responsive display and edit"  
author: "Sumit Kesarwani"  
published: 2013-12-20  
updated: 2014-09-18  
canonical: https://www.mindstick.com/blog/618/knockout-in-asp-dot-net-mvc  
category: "single page app"  
tags: ["single page app"]  
reading_time: 1 minute  

---

# Knockout in Asp.Net MVC

In this blog, I’m explaining the knockout in [asp.net mvc](https://www.mindstick.com/forum/155798/what-is-caching-in-asp-dot-net-mvc).\

Knockout is a JavaScript library that helps you to create rich, responsive display and editor [user interfaces](https://answers.mindstick.com/qa/102632/what-is-the-significance-of-google-s-material-design-for-user-interfaces) with a clean underlying data model.

Knockout.js is a Java Script library used for creating Model-View-View-Model (MVVM) model. Using this model, you can segregate the [user interface](https://www.mindstick.com/interview/22909/user-interface-objects-in-cocoa) html from the rest of the code. This will be useful [if your](https://www.mindstick.com/forum/156103/what-will-be-your-approach-if-your-seo-method-doesn-t-work) user interface changes often.

Knockout allows us to bind [html elements](https://www.mindstick.com/forum/158688/how-can-you-dynamically-create-html-elements-using-jquery) against any data model. Knockout can be using both [server side](https://www.mindstick.com/forum/318/how-to-call-javascript-fuction-in-server-side) [as well as](https://www.mindstick.com/interview/2481/can-you-write-a-java-class-that-could-be-used-both-as-an-applet-as-well-as-an-application) [client side](https://www.mindstick.com/forum/160418/what-are-the-best-practices-for-securely-storing-bearer-tokens-on-the-client-side) technology. It is compatible with all types of technologies. It provides a simple two-way [data binding](https://www.mindstick.com/articles/337466/exploring-data-binding-in-mvc-how-it-connects-model-and-view) mechanism between your data model and UI means any changes to data model are automatically reflected in the UI and any changes to the UI are automatically reflected to the data model

Knockout MVC is completely cross-browser and [works fine](https://answers.mindstick.com/qa/50017/is-it-true-if-my-mac-operating-system-can-t-be-upgraded-but-the-mac-still-works-fine-that-i-won-t-get-security-updates) in IE 6+, Firefox 2+, Opera 10+, Chrome and Safari.

---

Original Source: https://www.mindstick.com/blog/618/knockout-in-asp-dot-net-mvc

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
