Use SignalR with Knockout for real-time UX updates in ASP.NET MVC 3(www.iwantmymvc.com)

submitted by schwartyschwarty(125) 5 months, 18 days ago

Learn how to use SignalR and Knockout in an ASP.NET MVC 3 web application to handle real-time UX updates.

1 comment |category: |Views: 71

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 5 months, 18 days ago 0

I like the way SignalR is designed, but after reading your example I'm wondering how concurrency is handled? What sort of locking is in place to prevent multiple people from buying the last ticket simultaneously? Normally I'd use the interlocked.decrement function on the ticket count, or use an object lock. Does SignalR handle concurrency for us in this case or do we still need to use locks ourselves?

Reply

information Login or create an account to comment on this story