C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
John Godel(10)
Ziggy Rafiq(7)
Dashrath Hapani(7)
Uday Dodiya(7)
Vishal Yelve(5)
Sangeetha S(3)
Tharunkumar Magudeeswaran(3)
Sardar Mudassar Ali Khan (2)
Manav Pandya(2)
Shubham Sidnale(2)
Md Mominul Islam(2)
Baibhav Kumar(2)
Vijay Kumari(2)
Nandan Hegde(2)
Harsh Sharma(2)
Ganesan C(2)
Praveen Raveendran Pillai(2)
Tural Suleymani(2)
Aarav Patel(1)
Jay Krishna Reddy (1)
Howher Michael(1)
Ananya Desai(1)
Gourav Jain(1)
Deepika Sawant(1)
Malintha Wijewardana(1)
Manoj marmat(1)
Nitin (1)
Arnab Das(1)
Bimalshi Jayarathna(1)
Mahesh Chand(1)
Amit Mohanty(1)
Gautam Singh(1)
Bhawna Vishwakarma (1)
Sagar Rane(1)
Mark Pelf(1)
Afsar Uddin(1)
Allen Oneill(1)
Rijwan Ansari(1)
saswata s(1)
Mohammad Hasan Hosseini(1)
Kirtesh Shah(1)
Subarta Ray(1)
Aakash Chhillar(1)
Jochen Bartlau(1)
Ng Cheehou(1)
George (1)
Manikandan Murugesan(1)
Habibur Rony(1)
Vinodh Kumar(1)
Rahul Sharma(1)
Lokendra Singh(1)
Adarsh Nigam(1)
Ajay Kumar(1)
Omar Rodriguez(1)
Resources
No resource found
API Gateway Security Patterns for ASP.NET Core Microservices
Sep 15, 2025.
This article explores authentication, authorization, rate limiting, and input validation techniques using Ocelot, YARP, and cloud solutions like Azure API Management. Centralize security, reduce attack surface, and improve resilience with best practices for JWT, OAuth2, TLS/HTTPS, and centralized logging. Implement a zero-trust approach for robust protection.
Artificial Intelligence - First Prompting for Cybersecurity: CoT, ToT, ReAct, RAG, and GSCPāIncident-Ready Patterns
Sep 15, 2025.
Operationalize AI in cybersecurity with incident-ready prompt engineering patterns. Learn to classify alerts (CoT), explore containment (ToT), gather evidence (ReAct), ground answers in policy (RAG), and govern high-risk actions (GSCP). Enhance security workflows with auditable, safe AI-driven decisions. Transform telemetry into action!
Cost-Effective Prompt Engineering with Zero-, One-, and Few-Shot Patterns
Sep 07, 2025.
Optimize prompt engineering for cost-effectiveness! This guide details zero-shot, one-shot, and few-shot learning patterns, showing when each saves money. Learn to minimize token usage, use strict schemas, and verify outputs cheaply. Master practical tricks for stable, budget-friendly results with LLMs.
Using React with TypeScript ā Common Patterns Every Developer Should Know
Sep 05, 2025.
TypeScript adds static typing to JavaScript, which means you catch errors earlier, improve editor autocomplete, and make your codebase easier to maintain. When combined with React, TypeScript can significantly improve how you work with components, state, and props.
What Is MVC in Web Development
Sep 04, 2025.
Unlock the power of MVC (Model-View-Controller) in web development! This guide breaks down the MVC architecture, explaining how it separates data (Model), presentation (View), and control (Controller) for cleaner, more maintainable, and scalable applications. Discover the benefits, limitations, and real-world examples of MVC frameworks like ASP.NET MVC, Spring MVC, and more. Master this essential pattern for building robust web applications.
Artificial Intelligence: AI-First Data Modeling for Manufacturing. From BOMs to Intelligent, Self-Optimizing Factories Executive Summary
Sep 03, 2025.
Reimagine manufacturing with an AI-first data model! Transform classic BOMs into intelligent, self-optimizing factories. This article details a blueprint where data fuels AI, driving improvements in yield, OEE, and margin. Learn about lakehouse architecture, digital twins, and LLM integration for governed, explainable AI in manufacturing.
Find vs GetBy in Entity Framework: Understanding the Right Approach
Aug 31, 2025.
Unlock EF Core efficiency! Compare Find() (primary key, cached) vs. GetBy() (flexible, direct DB query). Learn performance, usage, and error handling for optimal data access.
CQRS ā MediatR
Aug 25, 2025.
Demystifying CQRS and MediatR in .NET! Learn the difference between Command Query Responsibility Segregation and MediatR, with practical examples. Use them right!
Master Software Design Patterns: Complete Course Outline (.NET & Java)
Aug 22, 2025.
Learn software design patterns from basics to advanced. Build scalable, maintainable .NET & Java applications using latest patterns.
C# Memory Leak
Aug 21, 2025.
Learn how to prevent memory leaks in C# caused by static event handlers. This guide explains IDisposable, SafeSubscriber, and best practices for managing event subscriptions and garbage collection in .NET.
What are abstract classes, and how do you use them in Python?
Aug 21, 2025.
Abstract classes are a key concept in object-oriented programming (OOP) that provide a way to define a blueprint for other classes. They help enforce rules, ensuring that child classes implement specific methods. This article explains what abstract classes are, how they work in Python, and how to use them with examples.
What are Common Design Patterns in Node.js (Module, Singleton, Factory, etc.)
Aug 18, 2025.
This article explains the most commonly used design patterns in Node.js, such as Module, Singleton, Factory, and others. Each concept is explained in simple words with code examples to help you understand where and how to use them.
SQL Server CLR Integration: Development, Deployment, Security, Architecture, Patterns, and Real-World Use Cases
Aug 11, 2025.
Explore SQL Server CLR Integrationās power to bridge .NET and relational databases. Learn best practices, security, and real-world use cases to build scalable, secure, high-performance data-driven applications across diverse industries.
Best Practice to Make Your Project Cleaner in .NET
Aug 09, 2025.
Discover the best practices to keep your .NET projects clean, maintainable, and efficient. Learn tips for organizing code, improving readability, and boosting performance.
GenAI Explained: How Does It Actually Work? - Part 2
Aug 08, 2025.
Generative AI creates text, images, audio, and more by learning patterns from vast data. It powers tools like ChatGPT, DALL·E, and Midjourney, transforming creativity, productivity, and problem-solving across industries.
Unlocking the Power of Software Design Patterns
Aug 08, 2025.
Explore how software design patterns offer proven, reusable solutions to common development challenges. Learn their types, benefits, and real-world applications to build scalable, maintainable, and efficient software systems.
Difference between interface and abstract class?
Aug 07, 2025.
Learn the fundamental differences between interfaces and abstract classes in C#. This article breaks down their key characteristics, use cases, and performance implications with code examples. Ideal for developers and interview preparation.
ETL Design Pattern to Implement SCD Type 2 Using SQL, SSIS, or dbt
Jul 30, 2025.
SCD Type 2 is widely used in data warehousing to preserve full history of dimensional changes. Implementing it correctly through your ETL process is crucial for accurate historical reporting.
Designing a Scalable Schema in MongoDB: Real-World Patterns That Actually Work
Jul 21, 2025.
MongoDB gives you freedom, but that freedom comes with tradeoffs. Schema design in MongoDB isnāt about a strict structure. Itās about smart structure, based on how your app behaves.
Modern MediatR Library in .NET Core 9.0
Jul 10, 2025.
Modern MediatR Library in .NET Core
šMastering SOLID Principles in Real-World .NET Projects
Jul 07, 2025.
Learn SOLID principles in C# with real-world .NET examples. Master SRP, OCP, LSP, ISP, and DIP to write clean, testable, and scalable code using interfaces, patterns, and best practices for enterprise apps.
Difference Between Abstract Class and Normal Class in C#
Jul 04, 2025.
The difference between Abstract Class and a Normal Class in C#, including definitions, concepts, use cases, and examples.
Webhook pattern for an Azure Logic App
Jul 01, 2025.
This article describes how we can use asynchronous request reply pattern, webhook pattern with logic app to resolve timeout related issues during large data processing.
Page Object Model Design Pattern: Benefits and Implementation
Jun 30, 2025.
The Page Object Model (POM) design pattern in Selenium improves test automation by separating UI structure from test logic, ensuring maintainability, reusability, readability, and scalability for growing web applications.
Automating Azure Analysis Services (AAS) Firewall Whitelisting Using Azure Data Factory
Jun 30, 2025.
This article explains how to automate IP whitelisting in Azure Analysis Services (AAS) using Azure Data Factory (ADF). It covers dynamic firewall rule management using a configuration-driven pipeline, secured with Managed Identity and REST API integration.
Types of Classes in C# with Examples | Concrete, Static, Abstract, Sealed, and More
Jun 12, 2025.
Learn all the types of classes in C# with clear examples and use cases. Understand when to use abstract, static, sealed, generic, and partial classes in .NET Framework.
What is Singleton Design Pattern With Real Time Example in C#
Jun 12, 2025.
Learn how the Singleton Design Pattern works in C# with a real-time example. Understand its use in controlling object creation, ensuring only one instance exists for global access and efficiency.
Mastering the Factory Pattern in C# 13: Best Practices with Real-World Examples
Jun 08, 2025.
With this best practices guide by Ziggy Rafiq, you will learn Factory Pattern in C# 13 with clean architecture, DI, and testable design.
Building a Clean ASP.NET Core API with C# 13, EF Core, and DDD
Jun 02, 2025.
The guide is written by Ziggy Rafiq and follows real-world architecture and testing best practices to provide a clean, scalable REST API using ASP.NET Core, C# 13, EF Core, and MS SQL.
Event-Driven CQRS with C# 14 and the SQL Outbox Pattern
May 15, 2025.
Learn how to implement a reliable event-driven CQRS microservice using the SQL Outbox Pattern with C# 14. Ensure strong consistency, transactional event publishing, and fail-safe asynchronous processing for scalable distributed systems.
How to Set Up Avalanche Blockchain on Devnet & Transfer Tokens
May 12, 2025.
This article covers the setup of the Avalanche blockchain on DevNet, including installing tools like Docker, Avalanche CLI, and Hardhat. It walks through deploying an ERC-20 token smart contract and transferring tokens between wallets.2/2
Applying the Saga Pattern for Distributed Transactions Across Services Using C# Examples
May 07, 2025.
The Saga pattern in microservices helps manage distributed transactions by breaking them into local transactions with compensating actions. It ensures data consistency and handles failures through choreography or orchestration.
Build a CRUD App in .NET 8 MVC Using Dapper and Repository Pattern
May 06, 2025.
Learn to build a CRUD app in .NET 8 MVC using Dapper for lightweight data access and the Repository Pattern for clean code architecture.
Abstract Factory Pattern for Notification Services in C# 14
Apr 22, 2025.
Discover how to use the Abstract Factory Pattern in C# 14 to build a flexible, provider-agnostic notification system.
Singleton Pattern in C# 14: A Deep Dive with a Real-World Example
Apr 21, 2025.
In software architecture, there are scenarios where only a single instance of a class should exist throughout the lifetime of an application.
šØ Abstract Factory Pattern in C# 14
Apr 21, 2025.
In modern C# development, particularly within enterprise applications, itās common to deal with families of related objects.
Abstract Factory Pattern for Database Access in C# 14
Apr 21, 2025.
This article covers creating flexible, maintainable code for handling multiple databases, while leveraging modern C# features for clean architecture and scalability.
What is New in JDK 24?
Apr 18, 2025.
JDK 24 introduces preview features like unnamed variables, pattern matching for primitives, string templates, and performance boosts, enhancing Java's productivity, readability, and native integration for modern development.
Advanced Configuration in .NET Core
Apr 17, 2025.
.NET Core provides various configuration sources like appsettings.json, environment variables, and Azure Key Vault. You can use strongly typed configuration with IOptions, validate options, enable hot reload, and manage secrets securely for app development.
C# Singleton Pattern: One Instance to Rule Them All
Apr 16, 2025.
The Singleton Design Pattern in C# ensures only one instance of a class exists and provides a global access point. It's ideal for managing shared resources like logging, configuration, or database connections.
Introduction to Event Driven Architecture [EDA]
Apr 15, 2025.
Event-driven architecture (EDA) is a software design pattern where decoupled components communicate via events. It enables real-time, scalable, and flexible systems, commonly used in microservices, IoT, payment processing, and real-time analytics.
Django Web framework Google Chart Example
Apr 14, 2025.
Django, a Python web framework using the MVT pattern, simplifies web development with built-in admin, structured views, and templatesādemonstrated using a Google Charts example for dynamic data visualization.
.NET 8 - System.Linq.Dynamic.Core ā using SQL LIKE
Apr 11, 2025.
System.Linq.Dynamic.Core library does not support SQL LIKE, and I added support for it. Added SQL LIKE support to the System.Linq.Dynamic.Core in .NET 8 using a custom patch. Enables dynamic SQL pattern matching in EF8 projects where built-in LIKE functionality was missing.
Open/Closed Principle (OCP)
Apr 08, 2025.
The Open/Closed Principle encourages extending software functionality without modifying existing code. It enhances flexibility, reduces bugs, and promotes maintainability by using interfaces and polymorphism for scalable, change-resilient design.
Liskov Substitution Principle (LSP)
Apr 07, 2025.
Understand the Liskov Substitution Principle (LSP), a key SOLID principle that ensures subclasses can replace base classes without errors, promoting reliable inheritance, clean abstraction, and maintainable object-oriented design.
Mastering SOLID Principles in Software Design
Apr 06, 2025.
The SOLID principles are five key object-oriented design guidelinesāSingle Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversionāaimed at writing clean, maintainable, and scalable software systems.
Understanding AI: A Beginner's Guide
Apr 04, 2025.
Artificial Intelligence (AI) simulates human intelligence in machines to perform tasks like pattern recognition, decision-making, and learning from data. It powers apps like recommendations, predictions, and automation.
What is Monolithic Architecture
Apr 01, 2025.
Monolithic architecture is a software design pattern where the entire application is built as a single unit. It offers advantages like easier development and deployment but faces challenges in scalability and maintenance as applications grow.
Decorator Design Pattern ( Singleton Design Pattern)
Mar 28, 2025.
This article explains the Decorator Design Pattern in C#, demonstrating how to dynamically add functionalities to objects without modifying their structure. It includes real-world examples, implementation steps, and code samples.
Advanced APIs with ASP.NET Core: Middleware, EF Core, and Versioning
Mar 28, 2025.
Learn how to build advanced APIs with ASP.NET Core using middleware, Entity Framework Core (EF Core), and API versioning. This guide covers request handling, database management with EF Core, and implementing versioning strategies for scalable and maintainable APIs.
Chinaās AI Renaissance: From Factory Floor to Global Powerhouse
Mar 25, 2025.
China's AI rise, fueled by strategic investment and a vast data ecosystem, is reshaping global tech dynamics. Western companies must adapt to this evolving landscape.
Trigger Fabric Data Pipeline from ADF/Synapse via Managed Identity
Mar 24, 2025.
Learn how to trigger a Fabric Data Pipeline from Azure Data Factory or Synapse Pipeline using Managed Identity for secure authentication.
Automating SCD Type 4 in Azure SQL Database with Azure Data Factory
Mar 24, 2025.
Learn how to automate Slowly Changing Dimension (SCD) Type 4 implementation in Azure SQL Database using Azure Data Factory.
Learn C#: Refactor Code
Mar 18, 2025.
Refactoring in C# enhances code readability, maintainability, and performance by eliminating redundancy, utilizing LINQ, extracting methods, applying null-coalescing operators, and implementing async/await patterns.
Dynamic Database Web API in .NET 9: Clean Architecture & MediatR for Flexibility
Mar 17, 2025.
A Web API should support multiple database options such as SQL Server, PostgreSQL, MySQL, and SQLite without major code changes. In this article, we will build a .NET 9 Web API using Clean Architecture, Domain-Driven Design (DDD), and MediatR, while implementing dynamic database selection using Entity Framework Core (EF Core).
Understanding IT Solution Architecture
Mar 12, 2025.
Solution architecture is focused mainly on the understanding of the business requirements and based on that need to design the project. Solutions should be designed in a way that it will be easy for maintenance and updates.
Domain Events & Pub/Sub Pattern: Manual Implementation vs MediatR
Feb 27, 2025.
Domain events and the publish/subscribe pattern are essential for building decoupled, scalable, and maintainable systems. Whether we're working on a microservices architecture or a modular monolith, these patterns help us manage complexity and enforce boundaries between components.
Create Storage Account and Move Files Using ADF Activity
Feb 17, 2025.
Learn how to create an Azure Storage Account, set up Azure Data Factory (ADF), and efficiently move files between folders using ADF activities.
Understanding Bridge Design Pattern
Feb 13, 2025.
This article explains its benefits, use cases, and implementation in C# with a real-world message-sending example using SmsMessageSender and EmailMessageSender.
Understanding Factory Design Pattern
Feb 11, 2025.
Learn about the Factory Design Pattern in C#. This article explains its implementation with a real-world banking example, demonstrating how to create flexible, maintainable, and decoupled object creation logic.
CQRS and Mediator Pattern in a .NET 8 Web API
Feb 10, 2025.
This article explains how to implement CQRS and Mediator patterns in a .NET 8 Web API. It covers the benefits of separating read and write operations with CQRS, and how the Mediator pattern reduces dependencies between objects.
Understanding Abstract Factory Design Pattern
Feb 01, 2025.
This article explains the Abstract Factory Design Pattern in C#, demonstrating its implementation with a real-world payment gateway example. It covers abstract products, factories, concrete implementations, and client usage.
Design Patterns for Scalable ASP.NET MVC Applications
Jan 31, 2025.
Discover key design patterns like Repository, Unit of Work, Dependency Injection, Factory, Singleton, and Command to enhance the scalability, maintainability, and testability of your ASP.NET MVC applications.
Mastering C# 13.0: Best Practices and Coding Standards
Jan 26, 2025.
Explore the essential coding standards and new features of C# 13.0. Enhance your development skills with practical examples and coding snippets for writing clean, efficient, and maintainable code.
Java 21 JUnit Testing Best Practices
Jan 21, 2025.
The best practices for JUnit testing in Java 21 by Ziggy Rafiq include leveraging new language features like record patterns and string templates. Develop maintainable and robust Java applications by leveraging test isolation, AAA patterns, and parameterized tests.
Java Program to Generate Pascal's Triangle
Jan 20, 2025.
A Java Program to Generate Pascal's Triangle creates a pattern of numbers where each number is the sum of the two numbers directly above it. The program allows the user to input the number of rows they want for the triangle.
What We Didn't Know About C# 13
Jan 13, 2025.
Ziggy Rafiq shows us how to leverage C# 13's hidden gems, including advanced pattern matching and performance enhancements that allow for faster and more effective development.
Printing Different Types of Star Patterns in Java with Code
Jan 09, 2025.
Star pattern programs in Java demonstrate the use of nested loops and control structures, creating shapes like squares, pyramids, diamonds, and hollow squares with illustrative code examples and outputs.
What is Factory Method Design Pattern?
Jan 06, 2025.
Learn how to build an AI-powered birthday party planner using Copilot Studio and Microsoft OpenAI. Streamline theme selection, product management, and logistics with intelligent automation for efficient and creative event planning.
Why We need Factory Design Pattern?
Dec 31, 2024.
The Factory Design Pattern is a creational design approach that simplifies object creation by providing a central mechanism. It promotes code reusability, maintainability, and decoupling, making software development efficient and scalable.
Advanced Logging with Proxies in C#
Dec 24, 2024.
This article presents a lightweight, dependency-free logging mechanism in C# using the DispatchProxy class. It enables efficient method interception, conditional logging, performance optimization, and error handling without external dependencies.
Implement the Mediator Pattern in a .NET Web API
Dec 17, 2024.
Learn how to implement the Mediator Pattern in a .NET Web API using the MediatR library. This design pattern reduces tight coupling between components by centralizing communication through a mediator.
Transactional Outbox Pattern
Dec 07, 2024.
The Transactional Outbox Pattern ensures data consistency in distributed systems by storing events in an outbox table within the database. It simplifies reliable messaging, enabling seamless communication between microservices while avoiding the complexity of two-phase commits.
When to Use Abstract Class vs Interface and Why?
Nov 29, 2024.
This article explains when to use abstract classes vs. interfaces in C# through two scenarios. The first scenario demonstrates how abstract classes help avoid code duplication, while the second shows how interfaces enable multiple inheritance.
Factory Design Pattern Using Delegates In C#
Nov 27, 2024.
Factory Pattern is a creational design pattern that provides a way to encapsulate object creation. Instead of directly instantiating objects, you delegate the creation process to a factory class.
Dependency Injection (DI) in .NET Core
Nov 27, 2024.
In this article, we will learn how to configure services, implement constructor injection, and understand DI lifetimes (scoped, transient, singleton) for efficient application design.
Options Pattern In ASP.NET Core
Nov 25, 2024.
The Options pattern in ASP.NET Core simplifies configuration management with strongly-typed settings. Using classes aligned to appsettings.json, it ensures type safety, dependency injection, and validation.
Advanced C# 13 and .NET 9 Features for Expert .NET Engineers
Nov 22, 2024.
With this guide, you will learn about enhanced pattern matching, static abstract members, Native AOT, and much more in C# 13 and .NET 9. Written by Ziggy Rafiq, this is the best resource for experienced .NET Software Engineer Leads.
The Cynefin framework with Domain-driven Design
Nov 21, 2024.
What is the Cynefin Framework, and how does it align with Domain-Driven Design (DDD)? The Cynefin framework helps decision-makers navigate complex problems by categorizing them into five domains. It complements Domain-driven Design (DDD) by addressing complexity.
.NET 9 Features with Code Example
Nov 19, 2024.
Learn how abstraction simplifies complex systems by unifying interfaces, abstract classes, and dependency injection. Build modular, maintainable, and testable applications with this comprehensive guide.
Accordion Pattern
Nov 19, 2024.
This article will discuss Accordion Pattern.
Repository Pattern in .NET Core for Clean Data Access
Nov 15, 2024.
Learn how to separate business logic from data logic, enhance testability, and reduce code duplication. By following these best practices, youāll achieve modular, scalable applications in .NET Core.
Code Reviews to Eliminate Common Anti-Patterns
Nov 07, 2024.
Enhancing software quality by avoiding antipatterns in code reviews that cover antipatterns in the Input Kludge, Magic Pushbutton, Encapsulation Violation, Anemic Domain Model, and how to create a rich domain model.
Data Loss Prevention in Microsoft Fabric Internals
Oct 28, 2024.
Microsoft Fabricās Data Loss Prevention (DLP) feature protects sensitive data across services like SharePoint, Teams, and Exchange by enabling policy creation, scanning, and enforcement through Microsoft Purview.
An in-depth Look at Advanced Pattern Matching in C# 12
Oct 21, 2024.
With Ziggy Rafiq, learn how to leverage advanced pattern matching features in C# 12, including the new let pattern and enhanced recursive patterns.
Why In ASP.NET Core logging is often implemented as a singleton
Oct 20, 2024.
In ASP.NET Core, logging is often implemented as a singleton to ensure efficient resource usage, centralized management, and thread-safe logging across the application.
Pattern Matching for Switch in Java 17
Oct 07, 2024.
Pattern matching for switches in Java 17 enhances code readability and simplifies working with complex data structures. It allows you to match object types, use type patterns, and add conditions with guarded patterns.
SQL Stored Procedure vs. Azure Data Factory Data Flow
Sep 27, 2024.
This article compares SQL Stored Procedures and Azure Data Factory (ADF) Data Flows for creating staging tables and migrating data to Dynamics 365 (D365). It examines their differences in execution time, cost, and scalability, offering insights into which method is best suited for data migration tasks.
REPR Pattern - For C# Developers
Sep 27, 2024.
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# applications.
Solid Introduction to Expression Trees in C#
Sep 26, 2024.
This article provides a comprehensive introduction to Expression Trees in C#. You'll learn about their structure, how they represent code as data, and their applications in LINQ queries.
Chain of Resposability Pattern
Sep 24, 2024.
The Chain of Responsibility is a behavioral design pattern that enables passing requests along a series of handlers. Each handler decides to process the request or forward it to the next in line. This pattern allows for flexible request processing and decouples sender and receiver.
Using C# 12 with Clean Code Practices
Sep 21, 2024.
Learn how to write cleaner, more maintainable code with C# 12 features such as primary constructors and improved pattern matching. This article explores practical examples and tips for applying clean code practices with C# 12.
Prototype Pattern: Cloning Objects in C#
Sep 18, 2024.
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 initialization overhead and ensures consistency.
Invoke Azure Data Factory Pipeline via MSFT Fabric without REST API
Sep 18, 2024.
This guide explores alternative methods for automating and orchestrating your data workflows in the cloud, providing seamless integration with Azure services for efficient pipeline execution.
Builder Pattern: Constructing Complex Objects
Sep 14, 2024.
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, modularity, and clarity in assembling products, making it ideal for various configurations and customizations.
Learn Factory Functions in JavaScript
Sep 10, 2024.
In this article, we will learn about Factory Functions in JavaScript. This article introduces factory functions in JavaScript, demonstrating how they create objects efficiently without code duplication. It also covers memory optimization techniques using `Object.create()` for shared functionality.
Singleton Pattern: Ensuring a Single Instance in .NET Core
Sep 09, 2024.
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 for managing shared resources like logging, configurations, or database connections, ensuring efficient resource usage.
Abstract Factory Pattern: Designing Families of Related Objects in C#
Sep 09, 2024.
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 in scenarios like UI design, configuration systems, and data access layers, promoting modular and decoupled design.
Factory Method Pattern: Simplifying Object Creation in C#
Sep 06, 2024.
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 subclasses decide which class to instantiate. This approach reduces coupling and enhances scalability in complex systems.
What Are Design Patterns? Understanding the Basics
Sep 05, 2024.
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, maintainable, and scalable code.