Welcome to AspAdvice Sign in | Join | Help

July 2006 - Posts

Thread safe singleton pattern with C#: easy!

Read here: http://www.dofactory.com/Patterns/PatternSingleton.aspx Here is the classical maneer a thread-safe singleton is written in C#: class MySingleton { private static MySingleton instance; // Lock synchronization object private static object syncLock
Posted by odalet | 1 Comments

How to access real GAC files

Read here: ( Using Explorer to get to physical files in the GAC http://weblogs.asp.net/jkey/archive/2003/02/25/3006.aspx ), an easy but really efficient trick to browse real files in the GAC: open a DOS prompt and type subst G: %windir%\assembly If explorer
Posted by odalet | 0 Comments
Filed under: