TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Design Patterns & Practices
FOLLOW
Design patterns & practices accelerate the design and development of custom applications and reduce project technical risks. Here you may find Design Patterns & Practices related articles and news.
Articles
(444)
Blogs
(87)
Resources
(9)
Videos
(10)
News
(2)
Articles
Singleton Vs Static Classes in C#
Why do you use a Singleton class if a Static class serves the purpose What is the difference between Singleton and Static classes and when do you use each one in your program?
Akkiraju Ivaturi
Aug 06, 2012
Dependency Inversion Principle (DIP)
The Dependency Inversion Principle (DIP) advocates that high-level modules shouldn't rely on low-level modules. Instead, both should depend on abstractions, reducing coupling and facilitating f...
Vishal Yelve
Apr 02, 2024
Learn Open/Closed Principle (OCP)
The Open/Closed Principle (OCP) emphasizes that software entities should be open for extension but closed for modification. It enables adding new functionalities without altering existing code stru...
Vishal Yelve
Apr 02, 2024
Learn Interface Segregation Principle (ISP)
Learn about the Interface Segregation Principle (ISP) for cleaner and more maintainable code. Discover how segregating interfaces based on functionality improves system clarity and prevents unneces...
Vishal Yelve
Apr 02, 2024
Learn Liskov Substitution Principle (LSP)
Explore the Liskov Substitution Principle (LSP) for robust software design. Learn how to ensure derived classes can seamlessly substitute base classes, avoiding unexpected behaviors and maintaining...
Vishal Yelve
Apr 01, 2024
Single Responsibility Principle (SRP)
This article explores the Single Responsibility Principle (SRP), emphasizing the importance of class cohesion and minimizing reasons for modification. It provides examples of code violating and adh...
Vishal Yelve
Mar 30, 2024
How To Get Started With Always Encrypted For Beginners - Part One
Encryption has always been intriguing to me but seemed like it could be a very complex process to set up. However, SQL Server made it very simple when they introduced Always Encrypted (AE) into SQL...
Monica Rathbun
Feb 08, 2018
Learn Service Locator Pattern in C#
This beginner’s tutorial explores the Service Locator Pattern in C#. Despite its decline in favor of Dependency Injection, it remains relevant for legacy systems. The tutorial covers its implement...
Mark Pelf
Mar 26, 2024
Decorator Pattern in C# - 3 versions
In this article, we will explore the versatile Decorator Pattern in C#, presented in 3 different versions. Enhance your understanding of object-oriented design with this powerful pattern, offering ...
Mark Pelf
Mar 20, 2024
Common Approaches To Responsive Design
This article, Explores various strategies for responsive design, including CSS media queries, flexible layouts, and mobile-first approaches. Adapt your website's design to different devices sea...
Rion Williams
Nov 09, 2015
What is Change Data Capture(CDC)
Change Data Capture (CDC) is a method used in databases to track and capture changes in data. It enables real-time updates by identifying and recording modifications made to the database, facilitat...
Chethan N
Mar 07, 2024
Dependency Inversion Principle
In this article, you will learn about the Dependency Inversion Principle. The Dependency Inversion Principle (DIP) in SOLID, outlined by Robert C. Martin, advocates that high-level modules should d...
Pranay Rana
Jul 07, 2015
Open Closed Principle in SOLID
In this article, we will learn about the Open Closed Principle. The Open Closed Principle (OCP) in SOLID, coined by Robert C. Martin, asserts that software entities should be open for extension but...
Pranay Rana
Apr 27, 2015
Interface Segregation Principle
In this article, you will learn about the Interface Segregation Principle. The Interface Segregation Principle (ISP) in SOLID, by Robert C. Martin, emphasizes coding according to specific interface...
Pranay Rana
Jul 07, 2015
Liskov Substitution Principle
This article explains the Liskov Substitution Principle. The Liskov Substitution Principle (LSP), a key SOLID principle by Barbara Liskov, advocates seamless substitution of base class objects with...
Pranay Rana
May 04, 2015
What is Single Responsibility Principle
In this article, you will learn about the Single Responsibility Principle. The Single Responsibility Principle (SRP) in SOLID, emphasized by Robert C. Martin, asserts that a class or function shoul...
Pranay Rana
Apr 20, 2015
SOLID Principles: Practical Examples for Better Software Design
There are some essential principles and best practices that are generally recommended to help manage code and projects more easily. These practices make the code easier to maintain, scale, adopt, a...
Rijwan Ansari
Nov 07, 2023
How to Explain Dependency Injection to a 6-Year-Old Kid
In explaining Dependency Injection (DI) to a child, consider action figures equipped with interchangeable tools. Imagine adding new weapons without altering the figures, much like incorporating adv...
Ng Cheehou
Oct 17, 2023
Problem-Solving with the Singleton Design Pattern: A Before-and-After Code Analysis
Explaining Singleton Design Pattern with C# code example
Ng Cheehou
Oct 06, 2023
Singleton Design Pattern: Eager And Lazy Initialization With Code Example
Explaining the differences between eager and lazy singleton
Ng Cheehou
Oct 09, 2023
No Records Available.
View More
Build Progressive Web Apps
Challenge yourself
Professional growth
E-Book Download
Get Certified
Web Development Beginner