Last Updated: December 26, 2018
·
1.744K
· adamhewitt627

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

1 Response
Add your 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.

over 1 year ago ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

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