Click here to Skip to main content
15,914,250 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: System.ComponentModel.Win32Exception: Access is denied Pin
Mark_Wallace14-Feb-17 22:50
Mark_Wallace14-Feb-17 22:50 
GeneralRe: System.ComponentModel.Win32Exception: Access is denied Pin
TonyManso15-Feb-17 9:40
professionalTonyManso15-Feb-17 9:40 
GeneralWell isn't that special Pin
Mike Hankey14-Feb-17 10:29
mveMike Hankey14-Feb-17 10:29 
GeneralRe: Well isn't that special Pin
Kornfeld Eliyahu Peter14-Feb-17 11:02
professionalKornfeld Eliyahu Peter14-Feb-17 11:02 
GeneralRe: Well isn't that special Pin
Mike Hankey14-Feb-17 11:29
mveMike Hankey14-Feb-17 11:29 
JokeRe: Well isn't that special Pin
Richard Deeming15-Feb-17 3:23
mveRichard Deeming15-Feb-17 3:23 
GeneralRe: Well isn't that special Pin
Mike Hankey15-Feb-17 3:31
mveMike Hankey15-Feb-17 3:31 
GeneralThinking Of Writing An Article Pin
Kevin Marois14-Feb-17 5:47
professionalKevin Marois14-Feb-17 5:47 
I've been using SignalR on a couple of projects and I'm very impressed with it. Basically it allows servers to communicate with connected clients in real time or near real time. We're using it on a project to have a collection of instruments notify a server when a process is complete on each instrument. That notification to the server then results in a web app being updated. This allows users to know that status of any instrument from anywhere.

So in working on it I thought of another potential use case for SignalR - record lock/unlock notification:

Consider the scenerio where a data entry form is going to be used by multiple users. You can't just let the user start editing data without knowing if another user is editing that record already. There are many ways to handle locking the UI until no one else is using it, but here's an idea....

The SignalR hub running on the server could maintain a list of views/user id's/states (NotInUse/InUse) and provide real time notification to all other clients when that state changes. Then, the views would update their "Edit" button enabled state in real time when a record becomes available or locked. The server would need functions to release all locks and other stuff, but this is the basic idea. And, it could probably be written generically enough that you could use it right out of the box on any app with little to no modifications.

Without getting into the detail here in the Lounge, do you guys think this is an idea worth of writing up? Any reason you wouldn't use this approach?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

GeneralRe: Thinking Of Writing An Article Pin
OriginalGriff14-Feb-17 6:09
mveOriginalGriff14-Feb-17 6:09 
GeneralRe: Thinking Of Writing An Article Pin
Kevin Marois14-Feb-17 6:12
professionalKevin Marois14-Feb-17 6:12 
GeneralRe: Thinking Of Writing An Article Pin
Sander Rossel14-Feb-17 6:18
professionalSander Rossel14-Feb-17 6:18 
GeneralRe: Thinking Of Writing An Article Pin
Kevin Marois14-Feb-17 6:19
professionalKevin Marois14-Feb-17 6:19 
GeneralRe: Thinking Of Writing An Article Pin
megaadam14-Feb-17 6:20
professionalmegaadam14-Feb-17 6:20 
GeneralRe: Thinking Of Writing An Article Pin
Kevin Marois14-Feb-17 6:22
professionalKevin Marois14-Feb-17 6:22 
GeneralRe: Thinking Of Writing An Article Pin
megaadam14-Feb-17 6:32
professionalmegaadam14-Feb-17 6:32 
GeneralRe: Thinking Of Writing An Article Pin
Kevin Marois14-Feb-17 6:34
professionalKevin Marois14-Feb-17 6:34 
GeneralRe: Thinking Of Writing An Article Pin
Mike Hankey14-Feb-17 6:28
mveMike Hankey14-Feb-17 6:28 
GeneralRe: Thinking Of Writing An Article Pin
Bryian Tan14-Feb-17 7:27
professionalBryian Tan14-Feb-17 7:27 
GeneralRe: Thinking Of Writing An Article Pin
Jon McKee14-Feb-17 8:24
professionalJon McKee14-Feb-17 8:24 
GeneralRe: Thinking Of Writing An Article Pin
Pete O'Hanlon14-Feb-17 11:59
mvePete O'Hanlon14-Feb-17 11:59 
GeneralRe: Thinking Of Writing An Article Pin
F-ES Sitecore14-Feb-17 22:16
professionalF-ES Sitecore14-Feb-17 22:16 
GeneralRe: Thinking Of Writing An Article Pin
Pete O'Hanlon14-Feb-17 22:22
mvePete O'Hanlon14-Feb-17 22:22 
GeneralRe: Thinking Of Writing An Article Pin
Kevin Marois17-Jul-17 7:47
professionalKevin Marois17-Jul-17 7:47 
GeneralRe: Thinking Of Writing An Article Pin
Kevin Marois17-Jul-17 7:01
professionalKevin Marois17-Jul-17 7:01 
GeneralRe: Thinking Of Writing An Article Pin
Mark_Wallace14-Feb-17 20:27
Mark_Wallace14-Feb-17 20:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.