Click here to Skip to main content
15,884,388 members
Home / Discussions / C#
   

C#

 
AnswerRe: Field Naming Pin
Sascha Lefèvre16-Mar-16 7:49
professionalSascha Lefèvre16-Mar-16 7:49 
GeneralMessage Removed Pin
16-Mar-16 8:04
professionalN_tro_P16-Mar-16 8:04 
GeneralRe: Field Naming Pin
Sascha Lefèvre16-Mar-16 8:44
professionalSascha Lefèvre16-Mar-16 8:44 
GeneralMessage Removed Pin
16-Mar-16 8:47
professionalN_tro_P16-Mar-16 8:47 
GeneralRe: Field Naming Pin
Sascha Lefèvre16-Mar-16 8:54
professionalSascha Lefèvre16-Mar-16 8:54 
GeneralMessage Removed Pin
17-Mar-16 3:34
professionalN_tro_P17-Mar-16 3:34 
GeneralRe: Field Naming Pin
OriginalGriff16-Mar-16 9:15
mveOriginalGriff16-Mar-16 9:15 
QuestionLooking for a .Net Named-Lock-Manager Pin
Sascha Lefèvre16-Mar-16 2:43
professionalSascha Lefèvre16-Mar-16 2:43 
(I moved this question from the .Net forum to make sure the reason for no replies isn't that it didn't get noticed.)

I'm looking for a light-weight, free-to-use Named-Lock-Manager solution in .Net.

Named-Lock-Manager in the sense that it allows to place locks on arbitrary objects represented by their name. There should be at least these lock-types: Null, Protected Read (Shared), Protected Write (Update), Exclusive.

Light-weight in the sense of being usable in-process and consisting of just some classes or a DLL (the license might require this distinction).

This is a new field for me, so my journey started with Google. I found this Wikipedia page Distributed lock manager[^] which, in principle, seems to describe closest what I'm looking for except that I don't need the distributed/networking stuff baked into it. But the existing solutions mentioned there (Apache Zookeeper, Redis, Google Chubby) don't fit my requirements of different lock-types and/or aren't light-weight (and Google Chubby presumably is proprietary on top of that).

I then somehow found LockManager Class (Microsoft.TeamFoundation.Framework.Server)[^] which seems to offer the functional features I'm looking for but (having zero knowledge about anything Microsoft.Team*) would probably require a TFS-Installation and a license for that?

I also found this, but it's too simplistic: https://dzone.com/articles/managing-business-object-locks[^]

And that's all I found so far (maybe I'm not using optimal search terms).

Do you know of an existing solution that fits my requirements or comes reasonably close?

Thanks,
Sascha
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson

AnswerRe: Looking for a .Net Named-Lock-Manager Pin
Gerry Schmitz16-Mar-16 5:02
mveGerry Schmitz16-Mar-16 5:02 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Sascha Lefèvre16-Mar-16 5:31
professionalSascha Lefèvre16-Mar-16 5:31 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Gerry Schmitz16-Mar-16 5:54
mveGerry Schmitz16-Mar-16 5:54 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Sascha Lefèvre16-Mar-16 7:54
professionalSascha Lefèvre16-Mar-16 7:54 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Gerry Schmitz16-Mar-16 8:31
mveGerry Schmitz16-Mar-16 8:31 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Sascha Lefèvre16-Mar-16 9:12
professionalSascha Lefèvre16-Mar-16 9:12 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Gerry Schmitz16-Mar-16 9:23
mveGerry Schmitz16-Mar-16 9:23 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Sascha Lefèvre16-Mar-16 9:34
professionalSascha Lefèvre16-Mar-16 9:34 
QuestionHow to multiselect DataGridView rows without pressing CTRL key in c#? Pin
naouf1016-Mar-16 2:33
naouf1016-Mar-16 2:33 
AnswerRe: How to multiselect DataGridView rows without pressing CTRL key in c#? Pin
OriginalGriff16-Mar-16 3:43
mveOriginalGriff16-Mar-16 3:43 
AnswerRe: How to multiselect DataGridView rows without pressing CTRL key in c#? Pin
Gerry Schmitz16-Mar-16 5:24
mveGerry Schmitz16-Mar-16 5:24 
Questionimage "stacking" Pin
V.15-Mar-16 21:09
professionalV.15-Mar-16 21:09 
AnswerRe: image "stacking" Pin
OriginalGriff15-Mar-16 21:37
mveOriginalGriff15-Mar-16 21:37 
AnswerRe: image "stacking" Pin
Mycroft Holmes15-Mar-16 21:41
professionalMycroft Holmes15-Mar-16 21:41 
AnswerRe: image "stacking" Pin
Midi_Mick16-Mar-16 1:26
professionalMidi_Mick16-Mar-16 1:26 
AnswerRe: image "stacking" Pin
Gerry Schmitz16-Mar-16 5:49
mveGerry Schmitz16-Mar-16 5:49 
QuestionC#.net Date Time checker Pin
Member 1238698215-Mar-16 19:01
Member 1238698215-Mar-16 19:01 

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.