An example of how you can use KnockoutJS,EF and XSockets.NET ( basic example )