Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
The Factory Pattern is a Creational Pattern that simplifies object creation. You need not worry about the object creation; you just need to supply an appropriate parameter and factory to give you a product as needed.
Here I am trying to show the usage of Command Design Pattern, one among 23 design patterns.
Build a simple, extensible MVVM framework that creates and binds Views and ViewModels using reflection, configuration, and dependency injection.
Design Patterns provide solutions to common recurring problems. Design patterns can be classified as creational, structural or behavioral .Singleton and Factory patterns are two of the creational pattern.Here we will discuss these two patterns.
This article talks about various approaches of creating background processing in Web application using C#.
This article tells you how to develop various applications using Provider Design Patterns present in .NET 2.0.
Whenever we want that a class has only one instance and it should have global point to access it but allowing the flexibility to create more objects if the situation changes,in that case we will use Singleton Design Pattern.
In this article we will discuss an upcoming code review tool StyleCop. We will understand the basics and do a small sample of code review practically to understand how StyleCop works.
The beneifts of the seperated presentation pattern together with appropriate unit testing.
Through this article I will attempt to break down this fire breathing dragon. And hopefully at the end of it, you would feel confident of riding this dragon towards glory and respect.
Writing code to enable the controls in your application at the correct times can be difficult and error prone. This article describes a reliable way to code your control enabling.
This article gives a description to lengthy operation pattern on windows forms.
A simple way to allow Inter-Process Data Exchange using .NET 2.0 Mutex and temporary files.
Learn how to implement the Singleton pattern in C#, using a private constructor and static instance to ensure that only one object is created.
The singleton design pattern is designed to restrict instantiation of a class to one (or a few) objects. This article talks about building .NET applications using singleton pattern.
The current article shows a couple of different views of showing progress bars in Web based applications.
The singleton design pattern is designed to restrict instantiation of a class to one (or a few) objects. This article talks about building .NET applications using singleton pattern.
The singleton design pattern is designed to restrict instantiation of a class to one (or a few) objects.
A generic Data Access Component implementation written in C# that supports SQL, Oracle, OLEDB and ODBC data providers. Using the Factory design pattern for instantiating the data provider correct and specific objects determined at run time.
Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
Explains the Visitor design pattern and a variation that uses type casting to support adaptable project designs.
Moving from procedural programming languages such as ASP and Visual Basic to .NET object-oriented languages enables programmers to build systems that are highly extensible and flexible.
Learn how the Builder design pattern constructs complex objects while shielding clients from the details of their creation.
This article discusses the implementation of the Singleton Design Pattern.
Everything on Design Patterns & Practices, not only its articles: the Design Patterns & Practices page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article