Anyone up for sharing some ideas about possible ways to make use of SignalR/Websockets/Long polling in Umbraco?
I sent out a tweet and got responses quickly :)
Matt Brailsford about a seriously cool idea from CG11
Lee Kelleher already have the uBackChat package in the deli.
Tim Saunders mentioned he looked at SignalR for his Umbraco web hooks .
Morten Christensen have a sample it running in Umbraco 5
I started to hack with it to get started with some kind of admin broadcast messaging going. http://joeriks.com/2011/11/21/using-signalr-with-umbraco-to-broadcast-messages-or-chat-15-minutes/ (made a package to install SignalR, havent uploaded it to the Deli just yet tho)
The idea of using SignalR in the Umbraco back-office would offer some exciting development/packages!
I truly believe that Matt's uCollaborate idea is possible... but far too much work for a single (or couple of) developers ... especially if it is to be a free/open-source package! (Personally, I've considered it as a commercial venture ... but came to a decision that couldn't invest the time/effort required).
What I would like to see is a base framework for using SignalR within the Umbraco back-office, then have contributions for the various modules: e.g. chat/IM, notes, who's online, content editing/locking, realtime mouse-cursors, etc.
Still excited by the possibilities!
Sinister idea... uSpy - for a (super)admin to monitor what users are doing (in realtime). e.g. "John is has published document 'About Us' (1234)", "Jane is editing an XSLT file 'Navi.xslt'", etc.
When I think about the different feature ideas here - I think a simple chat window (like you already made) would be the feature I would most likely to add to my existing sites. I have not experienced much problems with editors trying to edit the same content at the same time yet - it's more a problem to get them to spend some time in the umbraco UI at all, and for them to remember how and where to edit stuff :) Seing co-workers online and being able to ask / discuss with them would be inspiring and I'm sure of real use for the people in the organizations I have been working with so far.
I've just started implementing a simple chat solution using SignalR in Umbraco.
I've hit a snag and wondered if anyone else has seen it.
The app seems to be timing out or losing it's connection after about 70 -90 seconds of inactivity.
I just wondered if anyone has noticed this/solved it?
So, it seems like the problem is that Umbraco is trying to route the SignalR calls, such as :
I have ~/signalr in UmbracoReservedPaths in web.config but this doesn't seem to be enough
I have ~/signalr in the UmbracoReservedUrls rather than UmbracoReservedPaths. That seems to work for me.
Well spotted, thanks. All working properly now :-)
I won't high five it because (my bad) it's a bit off topic for the post but thank you