Reputation: 5604
I see lot and lot of advantage in using Knockout.js in my MVC project but before going for it I want to make sure if there are any implications of using the same, or precautions to be taken while using Knockout.js
Upvotes: 3
Views: 509
Reputation: 8404
KnockoutJS is included by default starting with ASP.NET MVC4, so it's safe to say that you're going to see it a lot in ASP.NET MVC going forward.
Ultimately there aren't any conflicts of any sort that you have to worry about with Knockout with ASP.NET MVC. It doesn't conflict with any of the DataAnnotations or other auto-scaffolded JavaScript.
You don't get any knockout scaffolding for free (not like DataAnnotations and jQuery validation) so you only use it in instances where you explicitly code it into a view or partial yourself.
I use Knockout heavily in MVC4 and in Node.JS applications and it works great in tandem with jQuery - never ran into any issues with it on either platform.
Upvotes: 5