문제

I'm building my application with ASP.NET MVC, and I wonder, is there any easy way to make live bindings between the view and model?

For instance, if we take a look at meteor.js or derby.js frameworks for node.js, it comes right out of the box, and you need absolutely nothings for this. But is there any libs or approach to make it easy in ASP.NET MVC?

도움이 되었습니까?

해결책

The controller passes the model to the View and the View displays itself using the Model. Javascript frameworks use client-side models and Knockout.js is an excellent framework for such a binding.

But, if you want live updates, then you need a Server framework, SignalR is a good framework to establish such bindings.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top