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 Iterator pattern provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured. As an extension, the pattern allows for filtering elements in a variety of ways as they are generated.
This is a part of the Creation Pattern. This pattern ensures that you have only one instance and provides a single point of contact to access the instance.
In this article you will learn What is a Proto type design pattern.
The Strategy Pattern is a GOF (Gang of Four) behavioral pattern where the intent is to define a family of algorithms, encapsulate each one, and make them interchangeable.
Chain of Responsibility is one among the 23 Design Patterns by Gang of Four. It is an interesting pattern and similar to the Observer pattern. In this article we are exploring the Chain of Responsibility pattern.
In this article we will explain 4 important uses of template design patterns. Template design pattern is one of those patterns which are used unknowingly or knowingly in many places.
Explains the State design pattern in C# using a job-processing example that changes behavior according to ready and busy states.
In this article I would like to explore the Façade design pattern. The actual pronunciation is fu’saad. The dictionary meaning of the word Façade is “A showy misrepresentation intended to conceal something unpleasant”
A design pattern is a general repeatable solution to a common problem that occurs in the software industry. A design pattern is not completely a form of code, but it is a template for how to solve the problem and also can be used in many other problems.
In this article we would like to give the recordings, source code and brief up what happened during discussion of important Design Patterns.
Today, in this article let’s play around with one of the interesting and most useful concepts of design patterns, which will be hosted in a web app.
Today, in this article let’s play around with one of the interesting and most useful concepts of design patterns, which will be hosted in a web app.
Today, in this article let’s play around with one of the interesting and most useful concepts of design patterns, which will be hosted in a web app.
To define design patterns in simple words they are popular solutions for common design problems. They are very helpful in designing architecture and they also increase ease of communication among the developers.
Command pattern encapsulates a request as an object and gives it a known public interface. Command Pattern ensures that every object receives its own commands and provides a decoupling between sender and receiver.
An abstract factory provides an interface for creating families of related objects without specifying their concrete classes. Sometimes one wants to construct an instance of one of a suite of classes, deciding between the classes at the time of instantiation.
This article explains you about the abstraction and extensibility which is an important factor in modern day frameworks.
Although most companies do some form of requirements, there is often a lack of understanding as to exactly why the requirements need to be created and how. Let's look at some secrets to improve your requirements process even under tight deadlines.
There are many ways of injecting dependencies, you can use Spring.NET, StructureMap etc. NInject is one way of achieving this. In this article, I have implemented Inversion of Control with minimal changes using NInject.
This article explains and demonstrates some patterns for asynchronous message routing using C#.
Sharing data can be difficult, this article shows some patterns you can use to share data between applications without causing tight coupling. Each pattern is described with its merits and drawbacks to allow you to make an informed decision.
It is a method for evaluating the cost of a software package. According to him software cost estimation should be done through three stages.
An overview of architectural patterns in .NET, including service-oriented architecture, message buses, layered architecture, and domain-driven design.
Behavioral Design patterns are the patterns for .Net in which there is a way through which we can pass the request between the chain of objects, or we can say that it defines the manner to communicate between classes and object.
Behavioral Design patterns are the patterns for .Net in which there is a way through which we can pass the request between the chain of objects, or we can say that it defines the manner to communicate between classes and object.
In this article I have described the purpose of a Strategy Pattren and why an interface is so necesary when you follow a pattern.
Singleton and Prototype patterns fall under Creational Design Patterns which deal with object creation.
The Memento pattern is a design pattern that permits the current state of an object to be stored without breaking the rules of encapsulation.
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