Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / singleton

Singleton

singleton

Great Reads

by Boris Brock
This article presents a reusable base class for implementing singletons in C#.
by Jon Campbell
How to utilize WCF to allow a single instance of any WPF application without needing mutexes, extra assemblies, or special "hacks".
by honey the codewitch
Creating an application that can run once, but then accept command line args from subsequent runs
by Habibur Rony
This topic will cover the bad design practice using STUPID and good design practice using SOLID. Detailed explanation for Single Single Responsibility Principle, Open and Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion (DI) Principle.

Latest Articles

by Boris Brock
This article presents a reusable base class for implementing singletons in C#.
by Jon Campbell
How to utilize WCF to allow a single instance of any WPF application without needing mutexes, extra assemblies, or special "hacks".
by honey the codewitch
Creating an application that can run once, but then accept command line args from subsequent runs
by Habibur Rony
This topic will cover the bad design practice using STUPID and good design practice using SOLID. Detailed explanation for Single Single Responsibility Principle, Open and Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion (DI) Principle.

All Articles

Sort by Score

singleton 

by Boris Brock
This article presents a reusable base class for implementing singletons in C#.
by Jon Campbell
How to utilize WCF to allow a single instance of any WPF application without needing mutexes, extra assemblies, or special "hacks".
by Habibur Rony
This topic will cover the bad design practice using STUPID and good design practice using SOLID. Detailed explanation for Single Single Responsibility Principle, Open and Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion (DI) Principle.
by Shivprasad koirala
In this article we will learn C# Design pattern and Architecture pattern Step by Step with a project.
by HiDensity
Localization of an application at runtime - "On the fly"
by Greg Utas
Yet another article on this topic?!
by ASP.NET Community
Singleton The Singleton Design Pattern ensures that only a single instance of a given object can exist.It does this by making the class
by Akhil Mittal
This article covers Singleton Pattern in the most simplistic and easy to understand. The article will also talk about Static classes and the differences between singleton design pattern and static classes.
by Akhil Mittal
In this article, we’ll discuss Lazy initialization, the lazy keyword, why you make singleton class a sealed class and what are the differences between singleton and static class.
by Chris875
State pattern and procedural solution illustrated
by Scanix
SystemFramework defines interfaces, classes, and types to support a native runtime system with its own garbage collector, delegates, etc. The design of SystemFramework classes is similar to those of the .NET Framework.
by Antonio Ripa
A practical guide to implementing the Thread-Safe Singleton pattern in C# with modern and traditional approaches, including real-world scenarios where each method excels.