Related resources for patterns
  • An in-depth Look at Advanced Pattern Matching in C# 1210/22/2024 5:27:09 AM. With Ziggy Rafiq, learn how to leverage advanced pattern matching features in C# 12, including the new let pattern and enhanced recursive patterns.
  • REPR Pattern - For C# Developers9/27/2024 8:14:53 AM. Discover the REPR Pattern, a powerful design technique tailored for C# developers. Learn how this pattern can simplify code structure, improve maintainability, and optimize performance in C# applicati
  • Why "Service Locator" is an "Anti-Pattern" for Dependency Injection9/26/2024 8:29:26 AM. The "Service Locator" pattern, while widely used, often leads to issues in software design, making it an anti-pattern in the context of Dependency Injection (DI). This article explores the d
  • Prototype Pattern: Cloning Objects in C#9/18/2024 7:52:32 AM. The Prototype Pattern is a creational design pattern that simplifies object creation by cloning existing instances instead of starting from scratch. Ideal for complex objects, it reduces initializatio
  • Repository Design Pattern in MVC Architecture With Entity Framework9/18/2024 5:49:26 AM. In this article, we will learn the Repository Design Pattern in MVC Architecture with Entity Framework simplifies data access by creating a layer between the data and business logic.
  • Singleton Pattern: Ensuring a Single Instance in .NET Core9/17/2024 7:19:37 AM. In this article, we learn about Singleton Pattern: Ensuring a Single Instance in .NET Core. The Singleton Pattern ensures a class has only one instance, providing global access. It's commonly used
  • Abstract Factory Pattern: Designing Families of Related Objects in C#9/17/2024 5:10:34 AM. The Abstract Factory Pattern provides an interface for creating families of related objects without specifying their concrete classes. It ensures consistency and flexibility in object creation, useful
  • Factory Method Pattern: Simplifying Object Creation in C#9/17/2024 4:01:43 AM. The Factory Method Pattern is a creational design pattern that delegates object creation to subclasses, promoting flexibility and maintainability. It defines an interface for creating objects but lets
  • Categorizing Design Patterns: Creational, Structural & Behavioral9/16/2024 8:17:37 AM. In this article we will learn about Categorizing Design Patterns: Creational, Structural, and Behavioral. It provides real-life examples, benefits, and challenges, offering developers insights for be
  • The Importance of Design Patterns in .NET Core Development9/16/2024 6:11:56 AM. This article discusses the importance of design patterns in .NET Core development, highlighting how they enhance scalability, maintainability, and flexibility. Key patterns include Singleton, Reposito
  • What Are Design Patterns? Understanding the Basics9/16/2024 5:51:51 AM. Design patterns are essential in software development, offering reusable solutions to common problems. By applying patterns like Singleton, Factory Method, and Observer, developers create flexible, ma
  • Builder Pattern: Constructing Complex Objects9/14/2024 1:58:12 PM. In this article, we learn about Builder Pattern: Constructing Complex Objects. The Builder Pattern simplifies the creation of complex objects through step-by-step construction. It enables flexibility,
  • A Guide to Using the Decorator Pattern in Your C# Code9/4/2024 5:40:43 AM. In this article, we will learn how to implement this pattern in your C# code, improve code reusability, and follow best practices for more maintainable and flexible software design.
  • Understanding State Design Pattern9/2/2024 5:00:07 AM. This pattern is particularly useful for implementing state machines or managing complex state-dependent logic, as it promotes cleaner code and improves maintainability in software development.
  • Using Factory Patterns in C# 12 to simplify A/B testing8/31/2024 4:40:36 AM. Find out how Ziggy Rafiq simplifies A/B testing with feature toggles in C# 12 by using Factory and Abstract Factory design patterns.
  • Understanding of Design Patterns8/30/2024 5:13:44 AM. Design patterns are essential in software development, divided into architectural and application/code-level patterns. Architectural patterns guide the high-level structure of software, ensuring compo
  • C# 12 Design Patterns: Factory and Abstract Factory8/29/2024 2:29:42 PM. By Ziggy Rafiq, discover how Factory and Abstract Factory design patterns simplify the creation of complex objects in C# 12.
  • Understanding of Domain Driven Design (DDD)8/29/2024 6:25:58 AM. Domain-driven design is a software development approach that closely aligns software models with business needs. It focuses on key concepts like Entities, Value Objects, Aggregates, and Aggregate Root
  • Singleton Pattern Caching in .NET C#8/26/2024 4:05:29 AM. Learn how to implement caching using this pattern to enhance memory management, ensure thread safety, and optimize performance in your applications.
  • Factory Design Pattern Real World Example8/21/2024 8:44:53 AM. In this article, you will see the real world example of Factory Design Pattern.
  • Advanced gRPC Communication in .NET Core8/20/2024 7:27:56 AM. Explore advanced techniques for implementing microservices communication using gRPC in .NET Core. This article dives into high-performance, real-time communication patterns with practical code example
  • Learn Advanced CQRS with .NET Core8/20/2024 7:12:32 AM. Dive into the advanced implementation of the Command Query Responsibility Segregation (CQRS) pattern using .NET Core and MediatR. This article explains the benefits of CQRS in modern application devel
  • Understanding Adapter Design Pattern8/16/2024 7:15:32 AM. The Adapter Design Pattern is a structural pattern that allows incompatible interfaces to work together. It acts as a bridge between two incompatible interfaces by converting the interface of a class
  • Exploring Advanced Design Patterns in .NET Core8/12/2024 9:20:27 AM. A deep dive into the latest trends in design patterns within the .NET Core ecosystem. Understand how these advanced patterns are shaping modern application development and architecture.
  • Advanced .NET Core Design Patterns with Code Examples8/12/2024 8:58:55 AM. This article delves into advanced design patterns in .NET Core, offering practical examples and code snippets. Learn how to implement these patterns to build scalable and maintainable applications.
  • Implementing the Mediator Pattern in .NET Core with MediatR8/6/2024 10:55:03 AM. Learn how to implement the Mediator pattern in .NET Core using the MediatR library. This article provides a detailed guide with code examples to help you understand and apply the Mediator pattern in y
  • Understanding Builder Design Pattern8/1/2024 6:14:40 AM. The Builder is a pattern that belongs to the creational design patterns family. What makes it special is its ability to provide abstraction to the client by encapsulating different types of the same o
  • Understanding Iterators in C#7/28/2024 9:09:18 AM. In this article, we will Understand key concepts, such as iterator methods and custom iteration patterns, and enhance your C# programming skills with practical examples and tips.
  • Logging Patterns in ASP.NET Core 87/22/2024 4:56:21 AM. In this article, we will explore the essential logging patterns in ASP.NET Core 8 to enhance your application's observability. Learn about basic, structured, and exception logging, along with best
  • Prototype Design Pattern7/18/2024 2:51:17 PM. Learn about the Prototype design pattern in Java, a creational pattern that enables object cloning for efficient instantiation. Explore cloneable interfaces, deep vs. shallow copying, and how to imple
  • The Unit of Work Pattern in C# for Modern Applications7/11/2024 8:17:00 PM. Explore the Unit of Work pattern in C#, essential for modern application development. Discover how it facilitates efficient database operations, manages transactions with Entity Framework, and enhance
  • Understanding about OpenZeppelin7/10/2024 6:30:07 PM. OpenZeppelin is a vital open-source entity in blockchain, offering robust tools for secure smart contract development on Ethereum. It provides libraries for ERC20, ERC721, and ERC1155 standards, empha
  • Detailed explanation of Abstract Factory design pattern7/8/2024 4:02:03 AM. The Abstract Factory design pattern is a creational pattern that provides an interface for creating families of related or dependent objects without specifying their concrete classes.
  • How to use the Abstract Factory Pattern in C# with the Interface Pattern7/4/2024 10:16:09 AM. Learn how these design patterns improve flexibility, scalability, and maintainability in software development by exploring the Abstract Factory Pattern and Interface Pattern in C# with Ziggy Rafiq. Be
  • Consume API in Repository Design Pattern7/2/2024 8:57:02 AM. Learn how to effectively consume APIs using the Repository Design Pattern. This approach enhances code organization by separating data access logic into reusable repositories, promoting maintainabilit
  • Design Patterns and Advantages of Different Design Patterns7/1/2024 6:42:39 AM. Design patterns are recurring solutions to common problems in software design. They provide a template for solving issues in a particular context. The advantages of using different design patterns inc
  • Automate SharePoint Site Creation with PowerShell and PnP6/26/2024 10:51:08 AM. Automate SharePoint site creation effortlessly using PowerShell and PnP (Patterns and Practices). Learn efficient scripting techniques to streamline the provisioning process, enhancing productivity an
  • Design Patterns with C# Examples6/19/2024 11:57:56 AM. This article explains design patterns, providing standard solutions for software design problems. It covers Creational, Structural, and Behavioral patterns with C# examples, including Singleton, Facto
  • Facade Design Pattern In C#6/13/2024 11:52:32 AM. C# Facade Pattern is used in hiding complexity of large systems and provide simpler interfaces. In this article, we will understand what Facade Pattern is and when and how to use a facade pattern in C
  • Repository Design Pattern In ASP.NET MVC6/13/2024 8:25:08 AM. Learn why direct database access complicates applications. Repository pattern in C# separates data access, improves testability, and supports flexible architecture changes. Follow a step-by-step guide
  • What are the Different Architectural Patterns?6/7/2024 10:34:45 AM. In this article, We will Explore the diverse landscape of architectural patterns, ranging from traditional monolithic designs to modern microservices and cloud-based architectures.
  • Framework Design - The Template Method Pattern6/7/2024 10:31:37 AM. Learn the Template Method pattern in C#, a behavioral design pattern facilitating framework design. Follow an example using a REPL framework, simplifying app development by automating loop execution a
  • ⏲️ Visual Time Spent - Time Tracking Extension For Coding In Visual Studio6/5/2024 8:10:58 AM. Visual Time Spent" is a time-tracking extension for Visual Studio, enhancing coding productivity. It provides insights into coding habits, metrics, and performance, facilitating efficient time ma
  • Abstract Factory Method Design Pattern With .NET Core6/5/2024 5:25:20 AM. Explore the use of design patterns in software development to solve common architectural problems. This guide demonstrates the Abstract Factory Design Pattern in C# with .NET Core, focusing on creatin
  • Implementing Repository Pattern And Dependency Injection In ADO.NET Using Generics In C#6/4/2024 9:49:21 AM. Learn how to implement design patterns in an object-oriented paradigm to create generic solutions. This guide covers a practical example where a web application interacts with a database using the rep
  • Integrating Azure Service Bus with .NET Applications6/3/2024 9:49:48 AM. In this article, we'll walk through the process of using Azure Service Bus with .NET. We'll cover everything from creating a Service Bus instance in the Azure portal to sending and receiving m
  • Mastering Asynchronous Programming in C# Async and Await Patterns 6/1/2024 9:17:52 AM. Master asynchronous programming in C# with the async and await patterns. Learn how to write non-blocking code, improve application performance, and handle concurrency. Understand Task-based asynchrony
  • Getting Started With HTTP Client Get Request In Angular 8 Using Entity Framework6/1/2024 8:29:06 AM. Learn Angular 8's HTTP client for GET requests, integrating with Entity Framework for seamless data retrieval. Explore front-end development with RESTful services, asynchronous programming, and An
  • Mastering SOLID Principles in C# with Real-Time Examples5/29/2024 5:39:49 AM. Mastering SOLID principles in C# enhances software design by promoting maintainability, scalability, and robustness. These principles include Single Responsibility, Open/Closed, Liskov Substitution, I
  • Decorator Design Pattern In Dart/Flutter5/16/2024 9:27:33 AM. Decorator Design Pattern in Dart/Flutter, a flexible and reusable solution for extending functionality in object-oriented software. Learn through real-world examples, understand when to use it, and be
  • Facade Design Pattern In Dart/Flutter5/16/2024 9:24:03 AM. Explore the Facade Design Pattern, a GoF design pattern that simplifies interactions with complex systems. Learn its definition, when to use it, and how to implement it in Dart/Flutter with a practica
  • Abstract Class in .NET C#: Syntax, Usage and Example5/13/2024 5:01:47 AM. Abstract classes in .NET C# provide a blueprint for other classes to inherit from. They contain abstract methods that must be implemented by derived classes. Learn syntax, usage, and see examples to u
  • Composite Design Pattern Using Python5/6/2024 11:37:22 AM. A composite design pattern is a structural design pattern. It allows developers to create multiple nested objects of the same type to complete one single system hierarchy.
  • Adapter Design Pattern In Flutter4/25/2024 9:50:09 AM. Explore the Adapter Design Pattern, a popular structural design pattern in software development. Learn its definition, real-world examples, appropriate use cases, potential pitfalls, and more.
  • Learn Patterns and Matching in Rust4/22/2024 9:00:33 AM. In this article, we will explore the pattern syntax of Rust Programming Language. Patterns and matching in Rust streamline data handling and control flow. With various pattern types and exhaustive mat
  • Dependency Injection and Service Lifetimes in .NET4/18/2024 9:51:28 AM. In this article, I will explain Dependency Injection (DI) is a design pattern that supports the development of loosely coupled code, and it’s also one of the SOLID principles (Dependency Inversion Pri
  • Singleton vs. Static Class in C# - Choosing the Right Approach4/17/2024 4:54:57 AM. Singleton and Static classes can only have one instance available in memory, and both classes can be used to maintain the global state of an application, however, there are many differences between th
  • Pattern Matching In C#4/15/2024 8:53:28 AM. Pattern matching in C# is a powerful feature allowing concise and expressive code for conditional statements and type checking. It enables matching based on various patterns like types, constants, pro
  • Generic Repository Pattern With MVC4/12/2024 7:21:48 AM. The Generic Repository Pattern with MVC is a design approach where a generic interface is used to define CRUD operations, providing a flexible way to interact with data in an MVC application. It promo
  • SOLID Principles in C# for Employee Management Example Mastering4/11/2024 4:56:36 AM. SOLID principles are a set of design principles that help developers create maintainable, scalable, and flexible software. In this article, we'll explore each of the SOLID principles: Single Respo
  • Singleton Design Pattern With C# Sample4/8/2024 9:13:27 AM. In this article, we will Explore the Singleton Design Pattern in C# with a concise sample code demonstrating its implementation. Learn how to ensure a class has only one instance, providing global acc
  • What is a Sealed Classes in C#?3/28/2024 6:49:58 AM. In C#, the concept of inheritance plays a vital role in object-oriented programming (OOP). Developers often design class hierarchies to create a relationship between different types of objects. Howeve
  • Singleton Design Pattern In Flutter3/21/2024 9:25:49 AM. Learn how and when to use Singletons, implement them effectively, and explore their advantages and limitations. This article also includes a sample implementation using the shared_preferences package
  • Abstract Factory Design Pattern In Flutter3/21/2024 9:25:33 AM. Learn about the Abstract Factory design pattern in Flutter for creating platform-specific widgets. This pattern centralizes the creation of related objects, making it easier to manage and work with m
  • Factory Method Design Pattern In Flutter3/21/2024 9:25:05 AM. Factory Method design pattern! Learn how to create objects dynamically, improve code flexibility, and build platform-specific UIs (like buttons) with ease. Explore a practical payment gateway example
  • Introduction to Design Patterns in Flutter3/21/2024 9:12:16 AM. Explore the importance of design patterns in software development. Learn about different types of patterns, their benefits, and how they can improve code efficiency, readability, and maintainability.
  • Decorator Pattern in C# - 3 versions3/20/2024 10:17:27 AM. 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 fle
  • How to Use Modular Pattern in Javascript3/20/2024 9:43:37 AM. In this article, we will learn how to leverage the Modular pattern in JavaScript for better code organization and scalability. By encapsulating code into separate modules, you can achieve separation o
  • Mastering Pattern Matching in C#2/28/2024 5:30:16 AM. Mastering Pattern Matching in C# provides comprehensive insights into leveraging pattern matching techniques to enhance code readability and efficiency. From type patterns to constant patterns, proper
  • Angular URL/Site Validation using Regular Expression and Bootstrap with Reactive Forms2/26/2024 4:26:28 AM. Steps to add validation for URL using the regex pattern in the angular application. I will explain steps to create a form with text input using the reactive forms in angular. This input field will on
  • Async Patterns in MVC Controllers for Efficiency or Adding Unnecessary Complexity?2/22/2024 8:08:10 AM. Explore the necessity of async patterns in MVC controllers—unveiling the intricacies of conventional and alternative coding styles
  • Mobile Number Validation Using Angular and Bootstrap2/19/2024 9:48:49 AM. This article illustrates the implementation steps for 10-digit mobile number validation in an Angular app using reactive forms and Angular's phone number validation pattern. It guides us through s
  • Dependency Inversion Principle2/15/2024 6:57:31 AM. 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 depe
  • Interface Segregation Principle2/15/2024 6:51:21 AM. 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 interfaces r
  • Liskov Substitution Principle2/15/2024 6:41:43 AM. 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 de
  • React Design Pattern Series: Container/Presentational Pattern2/14/2024 7:17:48 AM. Learn how to master the Container/Presentational Pattern in React with our comprehensive guide. This design pattern separates view and application logic, promoting improved code organization, reusabil
  • Mastering Middleware in .NET2/13/2024 6:28:06 AM. Discover the role and importance of middleware in .NET development. Explore its implementation, patterns, and integration within the ASP.NET request processing pipeline for enhanced application functi
  • Key Design Patterns in Software Engineering2/8/2024 6:48:50 AM. Discover essential design patterns such as Singleton, Factory, Abstract Factory, Unit of Work, Repository, and Command Query Responsibility Segregation (CQRS). Learn their applications and implementat
  • Understanding the Factory Pattern in .NET Core2/6/2024 6:54:59 AM. Explore the power of the Factory Pattern in software design, a creational pattern enhancing flexibility. Delve into a real-world example using .NET Core for a car manufacturing system.
  • React Design Pattern Series: Mastering Hooks Pattern2/5/2024 8:25:20 AM. This article delves into the transformative impact of React Hooks on state and side-effect management within functional components. The piece explores the "what" and "why" behind R
  • Design Patterns in C#12/27/2023 7:42:38 AM. Design Patterns in the object-oriented world are a reusable solution to common software design problems that repeatedly occur in real-world application development. It is a template or description of
  • Node.js API Design with the Power of Design Patterns12/11/2023 5:56:40 AM. This article explores essential design patterns for robust Node.js API development. Covering Singleton, Factory, Middleware, Observer, and Repository patterns with code snippets, it emphasizes scalabl
  • Empowering Developers with .NET 811/20/2023 5:34:28 AM. Step into the realm of .NET 8, the latest iteration of Microsoft's open-source platform that empowers developers to craft cutting-edge applications. With its focus on enhanced performance, cloud-n
  • Design Pattern with .NET Delegates11/15/2023 6:13:19 AM. Your article is detailed and well-structured, providing a clear explanation of implementing design patterns using generic delegates.
  • Design Patterns and Steps to Implement Singleton Class in C#11/13/2023 6:56:50 AM. Design patterns is the important features of object oriented programming. We need to ensure that only one object of a particular class is instantiated in Singleton design pattern in C#.
  • Simplify Your Code with Switch Expressions: Patterns and Examples11/6/2023 10:45:23 AM. In C#8 switch statement enhanced with powerful feature that can simplyfy your code and make it more readable and maintainable. In this article We will explore into C# 8 switch expression and how to us
  • Java 21: New Features and Examples11/2/2023 10:48:59 AM. Java 21 is a major release that includes a number of new features and improvements that make Java more concise, expressive, safe, and performant. Some of the most significant new features include reco
  • How to Pop to Root View in SwiftUI Tab on Re-Tap?10/19/2023 5:05:25 AM. In this article we will learn how to enable SwiftUI tab-based navigation to pop to the root view when the same tab is re-tapped, providing an intuitive user experience.
  • Clean Architecture and Command Pattern in ASP.NET Core API Implementation10/16/2023 8:25:42 AM. Explore a clean and efficient approach to building a robust ASP.NET Core Web API for a Car Company, using Clean Architecture and the Command Pattern. Simplify CRUD operations with a structured and mai
  • Singleton Pattern In C#10/13/2023 10:47:49 AM. In this article we will see how to create a single instance of a class using Singleton Pattern.
  • Efficient ASP.NET Core Web API Development with Clean Architecture, Flyweight Pattern10/11/2023 6:35:10 AM. the implementation of the CarCompany CRUD operations within an ASP.NET Core Web API, following the Clean Architecture principles, has been successfully structured. The separation of concerns into laye
  • Exploring Patterns in Azure Durable Functions10/9/2023 8:59:41 AM. This article explains the patterns of azure durable functions.
  • How to decide when to use which design pattern?10/9/2023 4:26:10 AM. Design patterns are commonly used design practices in software engineering. This article explains when to use design patterns and which design patterns.
  • Building Scalable ASP.NET Core Web API with Onion Architecture and Abstract Factory Design Pattern10/6/2023 9:41:41 AM. This implementation serves as a foundation for building robust, modular, and scalable ASP.NET Core Web APIs. As the project evolves, additional features, security measures, and optimizations can be in
  • Design Patterns in Software Development9/18/2023 5:07:11 AM. In software development, design patterns are like architectural blueprints, guiding developers to create efficient and adaptable code. Structural patterns connect objects (e.g., Adapter, Decorator), C
  • Simplifying Code with Pattern Matching in C#9/11/2023 5:08:52 AM. Discover how pattern matching in C# can simplify your code, improve readability, and enhance your development workflow. This comprehensive guide explores various pattern types, including type, constan
  • Implementing CQRS And Mediator Patterns With ASP.NET Core Web API9/6/2023 6:22:29 AM. Get started with understanding the basics of CQRS and it's simple implementation using the MediatR Nuget package in ASP.NET Core Web API
  • Power BI Data Visualization Best Practices7/31/2023 10:35:12 AM. Explore Power BI data visualization best practices to create compelling and informative visualizations that facilitate data-driven decision-making and drive business success.
  • Implementing Pipeline Design Pattern using C#7/18/2023 8:15:35 AM. Learn about the Pipeline design pattern and its implementation using C#. Discover how this powerful pattern breaks down complex tasks into modular steps for efficient and maintainable code.
  • Strategy Design Pattern in C#7/16/2023 5:04:48 AM. In this article we will learn what is a strategy design pattern and how we can implement it using C#. We will use a real world example of ImageProcessor to explain.