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]
Sardar Mudassar Ali Khan (20)
Sarthak Varshney(3)
Vijay Yadav(3)
Ajay Kumar(3)
Jitendra Mesavaniya(3)
Kuppu Swami(3)
Micheal Xavier A (2)
Sangeetha S(2)
Mark Pelf(2)
Shiv Sharma(2)
Tuhin Paul(2)
Tahir Ansari(2)
Aman Gupta(2)
Nikhil Patil(2)
Anjali Joshi(2)
Najath Risni(2)
Ravikant Sahu(2)
Farrukh Rehman(1)
Mominul Islam(1)
Asfaque Ansari(1)
Niharika Gupta(1)
Aarav Patel(1)
Ashish Bhatnagar(1)
Howher Michael(1)
Nitin (1)
Vaishali Vishwakarma(1)
Kripanshu Kumar(1)
Jalpa Dhola(1)
Harshit Pandey(1)
Bhuvanesh Mohankumar(1)
Lakshan Sulochana Fernando (1)
Jay Krishna Reddy (1)
Emanuel Martins(1)
Satya Karki(1)
Keyur Pandya(1)
Jaimin Shethiya(1)
Vinoth Xavier(1)
Aiswarya E V(1)
Safyan Yaqoob(1)
Velladurai (1)
Akshay Shedwad(1)
Shilpa Tanwar(1)
Shikha Tiwari(1)
Jobin S(1)
Abhishek Yadav(1)
Alkesh Bijarniya(1)
George (1)
Muzaffar Ur Rahman(1)
Umesh Baradkar(1)
Ishika Tiwari(1)
Gajendra Jangid(1)
Abhishek Khandare(1)
Sanwar Ranwa(1)
Farhan Ahmed(1)
Anandu G Nath(1)
Subarta Ray(1)
Anuradha Rani (1)
Abhishek Tiwari(1)
Anoop Kumar Sharma(1)
Ayushi Jain(1)
Resources
No resource found
🧱 Lesson 2E - Implementing Controllers (API Layer)
Nov 03, 2025.
Build .NET API controllers with Clean Architecture! Learn to implement CRUD operations for Products, Customers, Orders, and Order Items using DTOs and dependency injection.
ASP.NET Core MVC Deep Dive Part 5 - Advanced Controllers, Routing, Views & Enterprise Patterns
Oct 15, 2025.
Dive deep into ASP.NET Core MVC Models! This comprehensive guide covers model creation, data binding, validation using data annotations, and advanced techniques like custom validation and ViewModels. Learn to build robust and secure applications by mastering data integrity. Explore best practices, alternatives like FluentValidation, and prepare for Part 6: Controllers.
⚛️ React Router in React – A Complete Guide for Developers
Oct 07, 2025.
Master React Router! This comprehensive guide covers everything you need to know about React Router v6+, from installation and core components (BrowserRouter, Routes, Link, useNavigate) to advanced features like nested routes and dynamic parameters. Learn how to build seamless, single-page applications with smooth navigation, dynamic URLs, and enhanced user experience. Perfect for both web and mobile development, React Router is a must-have tool for every React developer.
How to Create a Responsive Navbar with CSS and JavaScript
Oct 06, 2025.
Create a responsive navbar using HTML, CSS, and JavaScript! This tutorial provides a step-by-step guide to building a user-friendly navigation menu that adapts seamlessly to any device. Learn how to implement accessibility best practices, optimize for performance, and improve SEO for better search engine ranking.
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.
The History Object and Location Object in Java Script
Sep 04, 2025.
Explore JavaScript's History and Location objects for enhanced web navigation. The History object enables seamless browsing history management (back, forward, go), while the Location object empowers URL manipulation, redirection, and access to URL components (protocol, host, pathname).
ASP.NET Core Application Lifecycle
Sep 02, 2025.
Explore the ASP.NET Core application lifecycle, from startup and middleware pipeline to routing, controller execution, model binding, and result execution. Understand how each stage contributes to handling HTTP requests and delivering responses. Learn how to configure services, manage dependencies, and build robust web applications. This comprehensive guide provides practical examples and insights for developers.
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 Is the Role of the Animator Controller in Unity
Aug 06, 2025.
The Animator Controller in Unity plays a central role in managing and organizing animation logic for characters, UI elements, and game objects.
Understanding the MVC Application Life Cycle in ASP.NET Core (.NET 6/7/8)
Jul 28, 2025.
With the evolution of .NET into .NET Core and now .NET 6, 7, and 8, the MVC framework has seen major architectural improvements. Understanding the ASP.NET Core MVC application life cycle is crucial for developers building modern, scalable, and high-performance web applications.
Mastering Dependency Injection in .NET Core: A Complete Beginner-to-Advanced Guide
Jul 28, 2025.
Dependency Injection (DI) is a cornerstone of modern software architecture in .NET Core and beyond. It promotes loose coupling, testability, and maintainability, making applications easier to build and scale.
Tab Control vs. Navigation Screens in Power Apps: When to Use What
Jul 28, 2025.
Power Apps offers two powerful UI patterns for organizing content: Tab Controls and Navigation Screens. While both help users move between sections, they serve different purposes. Let’s explore their differences, use cases, and how to implement them—with code snippets included!
How to Cancel Fetch Requests in JavaScript Using AbortController
Jul 23, 2025.
Learn how to cancel fetch requests in JavaScript using the AbortController API. Improve performance, prevent duplicate API calls, and manage async operations more efficiently with real-world examples and clean code.
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.
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.
Understanding Workloads in Kubernetes
Jul 02, 2025.
Explore Kubernetes workloads like Pods, Deployments, Jobs & more. Clear, real-world insights to help beginners deploy, manage, and scale apps with ease.
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.
Disabling SMBv1 on Domain Controllers
Apr 15, 2025.
In this article, we're diving into a critical security practice: removing SMBv1 from domain controllers. While there’s already a wealth of material explaining why SMBv1 is bad, my goal here is to focus on how to take action in a production environment.
.NET Controllers or Minimal API’s ?
Mar 11, 2025.
In .NET, Controllers provide a structured MVC approach for complex applications, offering features like action filters and model binding. Minimal APIs offer a streamlined syntax for lightweight, high-performance APIs, ideal for microservices.
Passing an Object from a List to Another Page in MAUI MVVM .NET 9 [GamesCatalog] - Part 6
Mar 10, 2025.
This article covers object passing techniques using navigation, data binding, and command binding in the GamesCatalog app. Enhance your cross-platform development skills with structured MVVM patterns for seamless data transfer.
Harnessing ML.NET for Sentiment Analysis in .NET 9 Applications
Mar 01, 2025.
Learn how to build a Sentiment Analysis API using ML.NET and .NET 9. This guide covers setting up an ASP.NET Core Web API, training a model, and integrating machine learning for text sentiment prediction.
Dynamic Breadcrumb Navigation with jQuery
Feb 03, 2025.
Enhance user experience with dynamic breadcrumbs! Automate navigation using jQuery, improve SEO, and simplify site hierarchy with lightweight, responsive design. Perfect for seamless navigation on dynamic websites.
Custom Bootstrap 5 Breadcrumbs - Ver 3
Jan 20, 2025.
This article covers how to design responsive, styled breadcrumb navigation to enhance user experience on your website. Customize your breadcrumbs easily using HTML, CSS, and Bootstrap components for better navigation.
Custom Bootstrap 5 Breadcrumbs -Ver 2
Jan 20, 2025.
This custom Bootstrap 5 breadcrumb solution enhances the basic breadcrumb feature with options for different sizes, icons, and multi-line text. It includes hover effects, and customizable colors, and is fully responsive without JavaScript.
Use the Navigate Function for Seamless Transitions in Power Apps
Jan 01, 2025.
Learn how to use the Navigate function in Power Apps to create smooth user experiences by enabling seamless navigation between screens. This article covers basic navigation setup, custom transitions, and how to pass context between screens.
Unit Testing in .NET Core with xUnit
Dec 16, 2024.
One of the main aspects of software testing that a developer can manage themselves is unit testing. It is employed to test your code's tiniest elements. Unit tests are used to verify that your code is functioning as intended or producing the desired results as you develop it.
Menu Navigation Layout in Android Studio
Dec 06, 2024.
The article explains creating a navigation menu layout in Android to enable seamless activity transitions. It covers Java code and XML design with DrawerLayout and NavigationView, ensuring intuitive UI interaction.
Build Testimonial Carousel in React with Dynamic Animations
Nov 15, 2024.
Create an interactive testimonial carousel in React to showcase client feedback effectively. This component offers smooth animations, auto-advancing slides, responsive design, and dynamic star ratings using Lucide Icons.
Converting HTML to PDF or Image in C# Using wkhtmltopdf
Nov 05, 2024.
This guide explains generating PDFs and images from HTML using wkhtmltopdf in C#. With wkhtmltopdf's Webkit-based engine, convert HTML content, including complex CSS and JavaScript, into high-quality PDFs or images.
Document Libraries in Microsoft SharePoint
Oct 16, 2024.
Microsoft SharePoint's document libraries provide a centralized storage solution for teams to manage and collaborate on files. Unlike OneDrive, which focuses on personal storage, document libraries facilitate real-time collaboration, version control, and file sharing.
Minimal APIs or Controllers in ASP.NET Core
Oct 14, 2024.
In ASP.NET Core, developers can choose between Minimal APIs and Controllers for building web APIs. Minimal APIs offer a lightweight, streamlined approach with simpler routing, while Controllers follow the traditional MVC pattern with more structure and features.
Different Ways to Redirect and Retrieve ID Parameters in Angular
Sep 02, 2024.
Angular offers various methods for navigation and parameter handling in web applications. Use the RouterLink directive for simple navigation, the Router service for programmatic control, and ActivatedRoute to retrieve parameters.
Integrating AngularJS with jQuery Select2 for Dropdown Changes
Sep 02, 2024.
Integrating AngularJS with jQuery Select2 enhances dropdown menus by combining AngularJS’s data binding with Select2’s advanced features. This setup involves initializing Select2 with AngularJS, handling dropdown changes, and synchronizing Angular models.
Document Upload in Java with Spring Boot
Sep 02, 2024.
This article demonstrates how to implement a dynamic document upload feature in a Spring Boot Java application. It allows users to upload multiple files by dynamically adding or removing input fields. The uploaded files are processed server-side, enhancing flexibility for document management and online forms.
Use of Automapper in ASP.NET Core
Aug 16, 2024.
AutoMapper is a powerful .NET library that simplifies object-to-object mapping in ASP.NET Core applications. It helps in converting Data Transfer Objects (DTOs) to domain models and vice versa, streamlining data transformations.
Angular Routing Mastery Navigate Between Components Easily
Aug 14, 2024.
Learn the intricacies of routing between components, understand best practices, and explore advanced techniques to streamline your application's navigation. Ideal for developers looking to enhance their Angular skills.
Understanding MVC in .NET Core
Aug 12, 2024.
This article provides a comprehensive guide to understanding the Model-View-Controller (MVC) architecture in .NET Core. It explores how MVC separates concerns in web applications, enabling more organized and maintainable code.
How to Create a Custom 404 Page in Next.js
Aug 05, 2024.
In Next.js, customizing a 404 page improves user experience by guiding users who land on non-existent pages. Create a 404.js component in the pages directory, style it with 404.module.css, and add navigation options like links and buttons.
CQRS Simplified - Explained and Implemented
Jul 30, 2024.
CQRS (Command Query Responsibility Segregation) in .NET Core separates read and write operations for better scalability and performance. By using distinct models for commands and queries, it simplifies complex data handling, improves security, and enhances maintainability.
Guide to Angular Guards
Jul 29, 2024.
Learn everything about Angular Guards in this comprehensive guide. Understand how to implement CanActivate, CanActivateChild, CanDeactivate, Resolve, and CanLoad guards to secure your Angular applications.
Functionality of DMA in C Programming
Jul 28, 2024.
Direct Memory Access (DMA) in C programming is a powerful technique for efficient memory management and data transfer. It allows peripherals to directly access memory without CPU intervention, enhancing system performance.
Understanding and Using Scope in .NET Core
Jul 26, 2024.
In .NET Core, dependency injection (DI) manages service lifetimes with three scopes: Transient (new instance per request), Scoped (one instance per request), and Singleton (one instance shared across all requests). Proper use of these scopes optimizes resource management and application performance.
How to Show and Hide Password in AngularJS
Jul 25, 2024.
Implementing a show/hide password toggle in AngularJS enhances usability by allowing users to view or conceal their passwords. This involves creating an AngularJS component with a toggle feature, defining the module and controller, and applying basic CSS styling.
Integrating PayU Payment Gateway with .NET Core API
Jul 10, 2024.
Integrate PayU with your .NET Core API to securely accept payments. This guide covers creating a new .NET Core Web API project, configuring PayU settings, and implementing the payment service. Steps include setting up the project in Visual Studio, adding necessary packages, and creating the API controller for payment processing.
Beginner's Guide to useNavigate() Hook in ReactJS
Jun 28, 2024.
Discover how to use the useNavigate hook in ReactJS with this beginner's guide. Learn to navigate programmatically within your React application using the useNavigate hook, part of React Router v6.
Routing in react js for Begineers
Jun 28, 2024.
Routing in React JS for Beginners" is a comprehensive guide designed to introduce newcomers to the fundamentals of routing in React. Learn how to set up React Router, navigate between components, and manage dynamic routes.
Understanding Dependency Injection in ASP.NET Core Web API
Jun 24, 2024.
Dependency Injection (DI) is a design pattern used to achieve Inversion of Control (IoC) between classes and their dependencies. In ASP.NET Core, DI is a fundamental part of the framework, making it easier to manage dependencies and improve the modularity, testability, and maintainability of your applications.
Understanding Eager Loading vs Lazy Loading in Angular
Jun 20, 2024.
Explore the impact of eager and lazy loading in Angular development on performance and user experience. Understand the benefits and implementations of both approaches. Eager loading simplifies navigation with upfront module availability, while lazy loading optimizes initial load time and resource management.
Preventing XSS Attacks in ASP.NET Core MVC
Jun 12, 2024.
Build a secure ASP.NET Core MVC blog app with Entity Framework Core. Follow steps to create models, controllers, views, and implement client-side validation and sanitization to thwart XSS attacks. Access the GitHub project for code reference and ensure your application is protected against common vulnerabilities.
Controller Action Result (2), in ASP.NET (Core) MVC
Jun 10, 2024.
This article is a following up for the previous article, Controller Action Result (1), in ASP.NET MVC to cover the situation of ASP.NET Core MVC. This article actually has the same conclusion as previous one, with emphasis to Core situation.
Key Components of VMware NSX ALB
May 28, 2024.
Explore the core components of VMware NSX ALB, including Service Engine, Controller, Console, Data Plane Scaling, and NSX ALB Cloud Services.
Introduction VMware NSX ALB Architectural Overview
May 27, 2024.
Discover VMware NSX ALB: a scalable, secure load-balancing solution optimizing application delivery across multi-cloud environments. Enhance performance and security today.
Transitioning from Controller to Minimal API in ASP.NET Core
May 22, 2024.
The ASP.NET Core framework has evolved significantly over the years, introducing new paradigms to streamline the development process. This article explores the process of transitioning from the traditional Controller-based approach to using Minimal APIs, highlighting the benefits and providing practical examples.
Power Apps Tabbed Form Using Tab List Modern Control
May 17, 2024.
Learn to enhance your Power Apps with a sleek tabbed form using the Tab List modern control. Elevate user experience by organizing data into tabs, enabling seamless navigation and customization.
Enable Audience Targeting in SharePoint Online
Apr 30, 2024.
In this edition, we'll guide you through How to Enable Audience Targeting for Navigation Links. Supercharge your team's collaboration with our curated insights, expert tips, and the hottest updates from the SharePoint universe. Don't miss out on the SharePoint revolution.
Routing to Controller Actions in ASP.NET Core
Mar 30, 2024.
In ASP.NET Core, routing plays a pivotal role in directing incoming HTTP requests to the appropriate controller actions, enabling developers to build powerful and structured web applications.
How to Enable Mega Menu in SharePoint Online
Mar 28, 2024.
Learn how to enhance user navigation experience in SharePoint Online by enabling Mega Menu. This step-by-step guide empowers you to customize site navigation, optimize the user interface, and structure your SharePoint site effectively within Office 365.
Developing a Walkthrough Component in PowerApps
Mar 27, 2024.
Create intuitive user experiences by developing a Walkthrough Component in PowerApps. Guide users seamlessly through your app's features with interactive tutorials and enhance navigation for a smoother user journey.
Namespace for Authentication Routes in MVC and Its Importance
Mar 19, 2024.
The System.Web.Mvc namespace in ASP.NET MVC is crucial for authentication routes, aiding in code organization, readability, and integration with framework features for seamless authentication and authorization tasks.
Lets Create TabView in SwiftUI
Mar 14, 2024.
This article contains a simple demo of creating Tab View in SwiftUI. Learn how to create a Tab View using SwiftUI in this tutorial. Follow step-by-step instructions to integrate tabs like Home, Favorites, Orders, and Settings into your SwiftUI project for streamlined navigation and enhanced UI customization.
How to Install and Configure RODC in Server
Mar 12, 2024.
In this article, we will explore A read-only domain controller (RODC) is a domain controller that hosts an Active Directory database's read-only partitions.
Learn about Navigation in SwiftUI
Mar 12, 2024.
This article contains a simple demo of navigation in Swift. Learn SwiftUI navigation with this step-by-step guide. Create a SwiftUI project, add NavigationLinks, and enhance the UI with Lists for smoother screen transitions. Happy coding!
Unit Test in ASP.NET Core Application
Mar 07, 2024.
Creating unit tests for an ASP.NET Core API controller involves service mocking and exception handling. Set up your project, install packages, create a test project, mock the service, write tests, handle exceptions, and run tests.
Out-of-the-Box Site Navigation and Audience Targeting in SharePoint
Mar 05, 2024.
In this article, we will explore SharePoint's built-in tools for intuitive site navigation and precise audience targeting. Enhance user experience with customizable menus and targeted content delivery, optimizing engagement and productivity across diverse user groups.
How to Add Additional Domain Controller in Server
Feb 28, 2024.
Deploying additional domain controllers increases the redundancy, which results in even greater resilience and higher availability.
Async Patterns in MVC Controllers for Efficiency or Adding Unnecessary Complexity?
Feb 22, 2024.
Explore the necessity of async patterns in MVC controllers—unveiling the intricacies of conventional and alternative coding styles
What Are Navigation Guards in Vue Router
Feb 08, 2024.
Vue Router offers navigation guards, functions executed before/after route navigation, enabling control over Vue.js app navigation. Global guards like beforeEach manage app-wide authentication/authorization.
Building a URL Shortener with .NET
Feb 01, 2024.
Create a powerful URL shortener using the versatile .NET framework, specifically ASP.NET Core. This guide walks you through setting up a database, implementing URL shortening logic, and configuring controllers and views.
Routing to Controller Actions in ASP.NET Core MVC
Jan 30, 2024.
In ASP.NET Core, routing to controller actions is facilitated through attributes that define route templates, mapping incoming HTTP requests to specific actions. Multiple conventional routes can be established in the Startup.cs file using the MapControllerRoute method.
Stars Rating System with Dapper in .NET Core
Jan 29, 2024.
This tutorial teaches ASP.NET Core MVC web application development with controllers and views. Implementing a star rating system with Dapper in .NET Core involves several steps. First, you need to set up your database schema to store ratings.
Data Transfer in ASP.NET Core MVC Controllers with TempData
Jan 29, 2024.
In ASP.NET Core MVC, you can pass temporary data from one controller to another using TempData. TempData is a dictionary that can be used to share data between controllers during the current request and the subsequent redirect. Here's how you can achieve this:
Building a Responsive Navigation Bar with Vue.js
Jan 22, 2024.
Creating a navigation bar is a fundamental step in web development, and Vue.js simplifies the process by offering a clean and efficient way to handle dynamic user interfaces. In this guide, we'll break down the components needed for a basic navigation bar, and delve into Vue.js concepts such as models, and views.
Eager Loading In ASP.NET Core Web API Complete Example
Jan 22, 2024.
In ASP.NET Core, eager loading is a technique used to load related data along with the main entity in a single database query. This helps to optimize performance by reducing the number of database calls. Let's implement an example of eager loading in an ASP.NET Core Web API using Entity Framework Core.
Synchronous vs Asynchronous Programming in ASP.NET Core Web API
Jan 21, 2024.
Synchronous Programming: In synchronous programming, tasks are executed one after the other, in a sequential manner. When a request is made to a synchronous API, the server processes the request and waits for it to be completed before moving on to the next task. This means that if one operation takes a long time to finish, it can block the execution of subsequent operations, potentially leading to slower response times for clients.Asynchronous Programming: On the other hand, asynchronous programming allows tasks to be executed concurrently. When a request is made to an asynchronous API, the server can initiate tasks and continue processing other requests without waiting for the previous tasks to be completed. This can lead to better scalability and responsiveness, especially in scenarios where certain operations, such as I/O operations, may take some time.ASP.NET Core Web API: In ASP.NET Core Web API, you have the flexibility to choose between synchronous and asynchronous programming models. The framework supports both approaches. Asynchronous programming is particularly useful when dealing with I/O-bound operations, such as accessing a database or making external API calls, where the application can continue processing other tasks while waiting for the I/O operation to complete.To implement asynchronous programming in ASP.NET Core Web API, you can use the `async` and `await` keywords in your controller methods, allowing you to write non-blocking code. This helps improve the overall performance and responsiveness of your API, especially in scenarios with high concurrency.
Handling HTTP Put Method in AngularJS and C#
Jan 12, 2024.
Learn how to implement an HTTP PUT method in an AngularJS frontend and C# backend. The AngularJS HTML frontend features a form for resource updates, while the C# backend uses a Web API controller. Follow this tutorial for a step-by-step guide on seamless communication between the frontend and backend using the PUT.
Handling HTTP Patch Method in AngularJS and C#
Jan 12, 2024.
Discover the power of the HTTP PATCH method with this tutorial, focusing on AngularJS frontend and C# backend integration. Uncover the nuanced approach of making partial updates to resources, as the AngularJS controller leverages PATCH requests to the C# backend's Web API.
Handling HTTP Options Method in Angular and C#
Jan 12, 2024.
Learn about the HTTP OPTIONS method in this tutorial, focusing on how AngularJS frontend and C# backend work together. See how the AngularJS controller uses OPTIONS requests to communicate with the C# backend's Web API, exploring different options for interacting with the target resource.
Microservices Development Using CQRS Architectural Design Pattern in Microsoft Asp.net Core Web API
Dec 28, 2023.
The Command Query Responsibility Segregation (CQRS) pattern is an architectural principle that separates the responsibility for handling commands (write operations that change state) from queries (read operations that retrieve state). It advocates having separate models for reading and writing data.Components of CQRS: Command: Represents an action that mutates the system's state.Query: Represents a request for data retrieval without changing the system's state.Command Handler: Responsible for executing commands and updating the system's state.Query Handler: Responsible for handling read requests and returning data in response to queries.Command Model: Contains the logic and rules necessary to process commands and update the data store.Query Model: Optimized for querying and presenting data to users, often involving denormalized or optimized data structures tailored for specific queries.Key Principles: Separation of Concerns: Splitting the responsibilities of reading and writing data helps in maintaining simpler, more focused models for each task.Performance Optimization: Enables independent scaling of read and write operations. The read model can be optimized for query performance without affecting the write model.Flexibility: Allows for different models to be used for reading and writing, which can cater to specific requirements and optimizations for each use case.Complex Domain Logic: Particularly beneficial in domains where read and write logic significantly differ, allowing tailored models for each type of operation.Benefits: Scalability: CQRS enables scaling read and write operations independently, optimizing performance.Flexibility and Optimization: Tailoring models for specific tasks allows for better optimization of the system.Complexity Management: Separating concerns can make the system easier to understand and maintain.
Controllers and Actions in MVC
Dec 28, 2023.
In this article, we will learn about the role of controllers, action methods, and action filters in the MVC architectural pattern for web development. Understand their functions, significance, and examples to enhance your ASP.NET MVC application.
React Router: Seamless Navigation in Your React Applications
Dec 27, 2023.
Discover the versatility of React Router, offering dynamic routes, nested navigation, lazy loading, and route guards for enhanced single-page applications.
Choosing Between Controllers and Minimal API for .NET APIs
Dec 21, 2023.
Explore the dichotomy of .NET API development with Controllers and Minimal APIs. This guide provides insights and real-world examples, empowering developers to choose between structured versatility and rapid simplicity based on project dynamics.
PowerApps Reusable Component for left or top navigation
Dec 03, 2023.
In this post, we will see how to create a reusable component which could be used as left or top navigation.
API Development Using Strategy Design Pattern with 3-Tier Architecture
Nov 12, 2023.
In today's fast-paced software development landscape, creating well-structured and maintainable applications is crucial. One popular design pattern that can greatly enhance the organization and flexibility of your ASP.NET Core Web API projects is the Strategy Design Pattern. This pattern allows you to encapsulate and swap out algorithms or behaviors at runtime, making it an ideal choice for handling various CRUD (Create, Read, Update, Delete) operations on your data models. In this article, we'll explore how to implement the Strategy Design Pattern within a 3-Tier Architecture in an ASP.NET Core Web API. You'll learn how to create a robust business logic layer, define concrete strategies for each CRUD operation, and seamlessly integrate them into your API controllers. By the end of this guide, you'll have a comprehensive understanding of how to leverage this pattern for a more maintainable and scalable API.
ASP.NET Core Web API Development with Memento Pattern
Oct 20, 2023.
The Mediator Pattern is a behavioral design pattern that promotes loose coupling among objects by centralizing their communication through a mediator object. In this pattern, multiple objects interact with each other indirectly through the mediator, rather than communicating directly.The primary goal of the Mediator Pattern is to reduce the dependencies between objects, making the system more maintainable and allowing for more flexible and scalable designs. It simplifies complex communication scenarios by having a single point of control, the mediator, which coordinates the interactions between different objects or components.
How to Pop to Root View in SwiftUI Tab on Re-Tap?
Oct 19, 2023.
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.
Building a Robust ASP.NET Core Web API with Singleton Design Pattern and Three-Tier Architecture
Oct 04, 2023.
This example provides a basic structure for a Three-Tier Architecture in an ASP.NET Core Web API, implementing a Singleton Design Pattern for the Data Access Layer. Remember to adjust the code based on your specific requirements and consider using dependency injection for better testability and maintainability.
CRUD Operations in ASP.NET Core with 3-Tier Harmony and Command Builder Design Pattern
Oct 04, 2023.
Command Builder Design Pattern in an ASP.NET Core Web API using a Three-Tier Architecture for CRUD operations. For the sake of this example, let's assume you have a model named CSharpCornerArticle.
Create ASP.NET Core CRUD API with MongoDB
Sep 25, 2023.
In this article, we've built a complete CRUD API using ASP.NET Core and MongoDB. You've learned how to define a model, set up a MongoDB database, create a MongoDB context, and implement CRUD operations in a controller. This API can serve as a foundation for building more complex applications with MongoDB as the database backend.
Creating CRUD API with Dapper in ASP.NET Core
Sep 22, 2023.
In this example, I'll demonstrate how to perform CRUD (Create, Read, Update, Delete) operations using Dapper in an ASP.NET Core Web API with a real-world use case model named CSharpCornerArticle. This model represents articles, and we'll create endpoints to manage these articles.
Securing ASP.NET Core Web API with JWT Authentication and Role-Based Authorization
Sep 09, 2023.
Securing APIs in an ASP.NET Core Web API involves implementing authentication and authorization mechanisms to protect your resources and ensure that only authorized users can access them. In this example, I'll provide a step-by-step guide on how to secure an ASP.NET Core Web API using JWT (JSON Web Tokens) authentication and role-based authorization.
Efficient PDF Generation in ASP.NET Core Web API Using DinkToPdf
Sep 09, 2023.
Generating PDF files in an ASP.NET Core Web API is a common requirement, and there are several libraries available to help with this task. In this example, I'll show you how to generate PDF files using the popular library called DinkToPdf, which is a .NET wrapper for the C library DinkToPdf. We'll also follow best practices for structuring your ASP.NET Core Web API project.
Addressing Common Code Smells in ASP.NET Core
Sep 09, 2023.
Code smells are common issues in software development that indicate potential problems in the code. In ASP.NET Core or any other programming language, addressing code smells is essential for maintaining a clean and maintainable codebase. Let's go through an example and address some common code smells step by step.
Real-time Communication with WebSocket Protocol in ASP.NET Core
Sep 04, 2023.
This example provides a foundational structure for real-time communication in ASP.NET Core using WebSockets. You can expand upon this foundation to create more complex real-time applications, such as chat rooms, notifications, or collaborative editing tools, by adding features like authentication, user management, and message persistence.
Working With NavigationPage In .NET MAUI
Sep 04, 2023.
In this article, we will learn about the NavigationPage in .NET MAUI.In .NET MAUI (Multi-platform App UI), the NavigationPage is a fundamental navigation container that allows you to manage the navigation flow and hierarchy of pages within your mobile and desktop applications. It is a key component for creating structured and user-friendly navigation experiences. Here's a description of how to work with NavigationPage in .NET MAUI:
Optimizing API Performance in ASP.NET Core Web API with MiniProfiler and Glimpse
Sep 01, 2023.
ASP.NET Core Web API's performance using tools like MiniProfiler and Glimpse. These tools are excellent for profiling and gaining insights into your application's performance, which can help you identify bottlenecks and areas for improvement. Here's a detailed guide:
File Upload Handling: API Endpoint and multipart/form-data
Aug 30, 2023.
ASP.NET Core Web API with the multipart/form-data content type. By following the steps outlined above, you can create an endpoint that allows users to upload files to your server.
Mastering Dependency Injection and Third-Party IoC Integration
Aug 29, 2023.
Dependency Injection (DI) is a design pattern used in software development to achieve loosely coupled components by allowing the injection of dependencies into a class rather than creating them within the class. This promotes better code reusability, testability, and maintainability. In the context of Dependency Injection, an Inversion of Control (IoC) container is a tool that manages the injection of dependencies.
Navigation Drawer with Material 3 in Jetpack Compose
Aug 29, 2023.
This article is a tutorial for creating a Navigation drawer in Android.
Navigation Rail with Material 3 in Jetpack Compose
Aug 29, 2023.
This article is a tutorial for creating a Navigation Rail in Android.
Navigating Through Common Errors in Power BI
Aug 23, 2023.
Mastering Power BI Error Resolution: Navigate and Solve. Discover frequent glitches while using Microsoft's dynamic data tool. Learn causes and practical fixes for seamless analysis and visualization.