Bind directly to C# objects in WinJS
While Microsoft has done a great job with the WinRT API, especially around using C# objects in JavaScript (still seems like magic to me) one significant component is not supported by the framework: data binding to C# objects with property change notifications.
I won't duplicate the code to do it here, but you can see my post on this forum: http://social.msdn.microsoft.com/Forums/en-US/winappswithhtml5/thread/38387326-8d81-48d1-8f85-023b9ebf2382
Written by Adam Hewitt
Related protips
1 Response
I learned a few things as I looked at performance around this, so there are some significant changes that I have posted to that forum as well.
Have a fresh tip? Share with Coderwall community!
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside