EnterpriseSolutionPatternsUsingMicrosoftDotNet
Last edit September 26, 2014
A patterns catalog produced by the
MicrosoftPatternsAndPractices
group. Foreword by
WardCunningham
.
It's one of those self-extracting executables but unzip on linux extracted the PDF without any problems. Large parts of it seem to be language-specific rehashes of patterns in Fowler's
PatternsOfEnterpriseApplicationArchitecture
and the
GangOfFour
book but that's not necessarily a bad thing. On the other hand their singleton example uses
DoubleCheckedLocking
. Does anyone know if that actually works in C# or do the issues why
DoubleCheckedLockingIsBroken
in Java also apply here? --
AdewaleOshineye
According to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/singletondespatt.asp
does double checked locking work as intended in C#. I haven't tried it myself since i tend to (over) use readonly instead.
--
ChristianOhman
See also
CsharpPatterns
,
EnterpriseApplication
CategoryDotNet
CategoryBook
CategoryMicrosoft