Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
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]
Dashrath Hapani(10)
John Godel(9)
Ziggy Rafiq(7)
Vishal Yelve(7)
Sardar Mudassar Ali Khan (6)
Uday Dodiya(4)
Sangeetha S(3)
Bhuvanesh Mohankumar(3)
Velladurai (3)
Manoj Kalla(3)
Mark Pelf(3)
Vijay Kumari(2)
Kirtesh Shah(2)
George (2)
Harsh Sharma(2)
Ganesan C(2)
Praveen Raveendran Pillai(2)
Micheal Xavier A (1)
Abhishek Yadav(1)
Manoj marmat(1)
Arnab Das(1)
Bimalshi Jayarathna(1)
Amit Mohanty(1)
Bhawna Vishwakarma (1)
Vijay Pratap Singh(1)
Shubham Sidnale(1)
Sagar Rane(1)
Afsar Uddin(1)
Rijwan Ansari(1)
saswata s(1)
Pankaj Patel(1)
Mohammad Hasan Hosseini(1)
Shafaet Hossain(1)
Subarta Ray(1)
Aakash Chhillar(1)
Jochen Bartlau(1)
Babita (1)
Tural Suleymani(1)
Manikandan Murugesan(1)
Habibur Rony(1)
Vinodh Kumar(1)
Rahul Sharma(1)
Lokendra Singh(1)
Ajay Kumar(1)
Prakashkumar Sahoo(1)
Omar Rodriguez(1)
Oleg Litvinov(1)
Resources
No resource found
Understanding .NET MVC
Jul 14, 2025.
ASP.NET MVC is a web framework from Microsoft that uses the Model-View-Controller pattern to build clean, testable, and scalable web applications using C# and Razor.
MVC Architecture in Node.js (With Code Examples)
Jul 11, 2025.
Learn how to build a clean, maintainable Node.js app using the MVC pattern with Express.js, separating concerns into Models, Views, and Controllers for scalable, testable, and organized code structure.
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.
JWT Auth in ASP.NET MVC: Secure REST API with C#.NET
Jul 04, 2025.
Learn how to build a secure ASP.NET Web API using C# and JWT authentication. This hands-on guide covers token generation, validation, and securing endpoints to protect your API with modern practices.
Basic Auth in ASP.NET MVC Web API Using C#.NET
Jul 03, 2025.
Learn how to build a secure ASP.NET Web API using Basic Authentication in C#. Protect your student data endpoints by validating user credentials with a custom auth filter. Perfect hands-on project for beginners.
Build a RESTful Student Info API with ASP.NET MVC & C#.NET
Jul 02, 2025.
Learn how to build a simple RESTful API using ASP.NET MVC in C#. This beginner-friendly tutorial guides you through creating a student info API with models, controllers, routing, and JSON output step by step.
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.
Difference Between Minimal API and Controller API .NET Core
Jun 20, 2025.
Explore the key differences between Minimal API and Controller API in .NET Core, including structure, performance, routing, and use casesâhelping you choose the right approach for your project.
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.
Vehicle Count Visualization Using ApexCharts in ASP.NET MVC
Jun 10, 2025.
In this snippet, we are working on visualizing vehicle category counts (B and C) using a donut chart powered by ApexCharts.
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.
Improved CRUD operations for GridView with Redshift in ASP.NET Core MVC (Utilizing C# 14 Features)
May 08, 2025.
Learn how to enable CRUD operations in an ASP.NET Core MVC application using Amazon Redshift and C# 14 features. This guide covers setup, connection, SQL commands, data manipulation, security, and best practices.
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.
Building a User Subscription Module in ASP.NET MVC with C# 14
Apr 25, 2025.
Learn how to build a complete User Subscription Module in ASP.NET MVC using C# 14 features, with registration, plans, payment logic, and access control for scalable, modern subscription-based web apps.
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.
Implementing TOTP (Time-Based One-Time Password) MFA in .NET Core
Apr 22, 2025.
TOTP (Time-based One-Time Password) is a secure two-factor authentication (2FA) method that generates temporary, single-use codes for user verification.
đš 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.
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.
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.
How to Publish ASP.NET Core MVC Project.NET 8 with View Files
Apr 14, 2025.
ASP.NET Core MVC .NET 8 publish cshtml file, publish view in asp.net core mvc, publishing CSHTML file in .NET 8 MVC project.
.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.
ASP.NET Session State: Storing Data Beyond IIS Restarts
Mar 20, 2025.
?To maintain ASP.NET sessions after an IIS restart, configure the session state to use SQL Server, State Server, or a distributed cache like Redis instead of the default in-memory storage.
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.
Efficient File Upload and Download from Network Drive in C# MVC
Mar 07, 2025.
Learn the best way to upload and download files from a network drive or shared storage using an MVC application in C#.
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.
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.
Blazor vs Traditional ASP.NET (MVC/WebForms): A Comparison
Feb 03, 2025.
Blazor is a web framework by Microsoft that enables building interactive web apps using C# and .NET. It supports Blazor Server (server-side) and Blazor WebAssembly (client-side) for modern, real-time, and offline web development.
Integrating Stripe Payment Gateway in ASP.NET Core MVC
Feb 03, 2025.
Learn how to integrate Stripe Payment Gateway into an ASP.NET Core MVC application, enabling secure online payments with Stripe Checkout. The solution covers API setup, payment session creation, and handling successful or canceled payments.
ASP.NET MVC: Download Large File Efficiently
Feb 02, 2025.
This article explores efficient ways to handle large file downloads in ASP.NET MVC, covering FileStreamResult, chunked streaming, async streaming, IIS configuration, and Content-Disposition for improved performance and browser compatibility.
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.
ASP.NET 8 â Using Bootstrap 5 Themes
Jan 20, 2025.
This article covers selecting and installing themes, configuring settings in appsettings.json, passing theme data to views, and managing UI consistency across different themes for a professional web app look.
Entity Framework (5-1), With .Net Core MVC, Database-First --- Scaffold-DbContext
Jan 18, 2025.
This article is to discuss the reverse engineering command Scaffold-DbContext by AI.
SQL Server â Query Performance â Database Maintenance can Help
Jan 14, 2025.
To improve query performance in an ASP.NET MVC application using SQL Server, periodic database maintenance steps like updating statistics and defragmenting indexes are essential. This includes manual or automatic execution for optimal results.
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.
Understanding Connected Disconnected Scenarios in EF Core MVC
Jan 06, 2025.
This article explains the connected and disconnected scenarios in Entity Framework Core for ASP.NET Core MVC applications. It covers how EF Core handles data in these scenarios, including change tracking, entity states, and managing database contexts.
Optimize Relationships Migrations Performance in ASP.NET Core MVC
Jan 06, 2025.
This article covers Entity Framework Core, query optimization, caching strategies, lazy and eager loading, and best practices to enhance your MVC application's efficiency.
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.
Connection String in ASP.NET Core MVC .NET 8
Dec 13, 2024.
Learn how to manage and use connection strings in applications, explore AppSettings.json, environment variables, and static classes, and understand their implementation with sample code for seamless database connectivity.
Session in ASP.NET Core MVC .NET 8
Dec 10, 2024.
This article covers enabling sessions in .NET 8 ASP.NET Core MVC, storing/retrieving session values, managing session keys, and implementing session handling with step-by-step examples and code walkthroughs.
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.
Customized Authentication Filters in ASP.MVC Core 6
Dec 04, 2024.
Custom authentication filters in ASP.NET Core 6 allow you to implement personalized authentication logic. You can create custom attributes, middleware, or policy-based authorization to manage user access based on roles, claims, or tokens.
How to Use Microsoft Teams for Project Management
Nov 28, 2024.
Microsoft Teams simplifies project management by integrating task management, real-time communication, and collaboration. Use Planner for tasks, schedule check-ins, and keep your team organized with chat updates and meetings.
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.
Integrating Demo Registration with External APIs in ASP.NET MVC C#
Nov 22, 2024.
We delve into the implementation of integrating an external API for vehicle registration within an ASP.NET MVC application. The method, Addadminvehicle, serves as a bridge between the web application and the BureauID API, which is responsible for handling vehicle fastag registrations.
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.
Bulk Import of ID Card Data from Excel in ASP.NET MVC C#
Nov 22, 2024.
This guide covers the process of parsing Excel files, extracting data, and inserting it into a database, ensuring smooth data handling and optimization for large datasets in a seamless, automated process.
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.
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.
Understanding Keyed Services in .NET 8
Nov 13, 2024.
Keyed Services in .NET 8 enhance dependency injection by allowing multiple implementations of an interface to be registered with unique keys. This enables flexible dependency resolution, ideal for tailored service instances in applications.
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.
Dependency Injection & EF Migrations in ASP.NET MVC with Autofac
Oct 30, 2024.
This article demonstrates how to implement Dependency Injection (DI) using Autofac in an ASP.NET MVC application and integrate Entity Framework for database operations, including migrations.
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.
Explaining IResultFilter in ASP.NET Core
Oct 14, 2024.
This article explores the ASP.NET Core `IResultFilter`, which allows custom logic execution before and after an action result. It discusses advantages and disadvantages and includes an implementation example for result filtering.
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.
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.
Sending Emails in ASP.NET Core MVC Using SMTP
Sep 25, 2024.
In this guide, we'll explore how to send emails in ASP.NET Core MVC using SMTP. We'll cover the essential setup, including configuring SMTP settings, creating an email service, and sending messages programmatically.
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.
Learn NLog Advanced Usage / Change NLog Configuration Per Request
Sep 23, 2024.
This article explores implementing dynamic logging in multi-tenant applications using NLog. It discusses configuring NLog to enable debug logging on a per-request basis without modifying existing configurations.
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.
Explaning IActionFilter in ASP.NET Core
Sep 16, 2024.
This article explains ASP.NET Core's `IActionFilter`, highlighting its use in handling cross-cutting concerns like logging, validation, and authentication while outlining its advantages and potential drawbacks in maintaining code efficiency.
Explaning IExceptionFilter in .NET Core
Sep 16, 2024.
This article explores ASP.NET Core's `IExceptionFilter`, which enables centralized exception handling. It highlights its advantages, such as separation of concerns, consistent error responses, and custom logic, while also noting potential drawbacks.
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.
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.
Preventing DoS Attacks in ASP.NET Core MVC Applications
Sep 08, 2024.
This ASP.NET Core MVC project demonstrates essential techniques to prevent DoS attacks, including rate limiting, request size limiting, and Google reCAPTCHA integration. The solution ensures security by controlling incoming requests, validating inputs, and preventing automated attacks while maintaining application performance.