C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
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]
Sourav Kayal(4)
Vijay Yadav(3)
Ajay Kumar(3)
Sharad Gupta(3)
Micheal Xavier A (2)
Alkesh Bijarniya(2)
Sardar Mudassar Ali Khan (2)
Raj Kumar(2)
Priyanka Jain(2)
Sachin Kalia(2)
Yatendra Sharma(2)
Ankit Bansal(2)
Nimit Joshi(2)
Anubhav Chaudhary(2)
Rohatash Kumar(2)
Sonu Chauhan(2)
Ananya Desai(1)
Ajay Narkhedkar(1)
Rajesh Gami(1)
Jaimin Shethiya(1)
Manoj Kalla(1)
Sanjay Kumar(1)
Jitendra Mesavaniya(1)
Ashish Bhatnagar(1)
Khoday Akilesh(1)
Ashutosh Singh(1)
Abdul Raheem(1)
Mohit Ande(1)
Venkatasubbarao Polisetty(1)
Debasis Saha(1)
Atul Warade(1)
Abhishek Yadav(1)
Habibur Rony(1)
Prashant Rewatkar(1)
Mayank Tripathi(1)
Amit Tyagi(1)
Mohammad Elsheimy(1)
Mukesh Kumar(1)
Jignesh Trivedi(1)
Jayakumar Balasubramaniam(1)
Naveed Zaman(1)
Mahender Pal(1)
Jasminder Singh(1)
Kireet Tssk(1)
Gaurav Kumar(1)
Michael Griffiths(1)
Pranav J.Dev(1)
Mohammed Ibrahim (1)
Rahul Sahay(1)
Sourabh Mishra(1)
Suraj Sahoo(1)
Karthikeyan K(1)
Rakesh (1)
Vikas Sharma(1)
Arunava Bhattacharjee(1)
Santosh Gadge(1)
Gopi Chand(1)
Abhijeet Singh(1)
Abhishek Jaiswal (1)
Ramasagar Pulidindi(1)
Amir Ali(1)
Abhishek Jain(1)
Prashant Nimbare(1)
Ankur Mishra(1)
Sreejith Gopinathan(1)
Mudita Rathore(1)
Ikram Ali(1)
Abhimanyu K Vatsa(1)
Shankar M(1)
Sazid Mauhammad(1)
Devanand Laroiya(1)
Sanjay Ahuja(1)
Chintan Rathod(1)
Aditya Gaur(1)
Jean Paul(1)
Lajapathy Arun(1)
Vijay Prativadi(1)
Sapna (1)
Hemant Kumar(1)
Resources
No resource found
Events and Event Handlers in C#
Dec 16, 2025.
Master C# events and event handlers! Learn how to build loosely coupled, scalable applications using the publisher-subscriber pattern. Enhance your .NET skills now!
How to Use MediatR for Clean Architecture in .NET Applications
Dec 08, 2025.
Learn how to implement MediatR in .NET applications to achieve Clean Architecture. This guide explains request/response patterns, commands, queries, handlers, dependency injection, pipelines, and best practices with simple code examples.
Exception Handling in ASP.NET Core
Dec 05, 2025.
This article provides a complete, easy-to-understand, and professional guide to Exception Handling in ASP.NET Core. It explains what exceptions are, why proper error handling is important, and how to implement try–catch, global exception middleware, built-in error handling, custom exception filters, structured ProblemDetails responses, validation errors, and logging using best practices. Ideal for beginners and experienced .NET developers, this article teaches how to build stable, secure, and production-ready applications with proper exception handling techniques.
Mastering Role-Based and Policy-Based Authorization in ASP.NET Core
Nov 13, 2025.
Secure your ASP.NET Core apps! Learn role-based and policy-based authorization. Implement custom handlers for granular access control and robust security measures.
Events and Event Handlers in Javascript
Jul 17, 2025.
Learn how JavaScript events and handlers make web pages interactive. From mouse clicks to form inputs, master event-driven programming for responsive, user-friendly websites with real-time user interaction.
Enhanced Exception Handling with IExceptionHandler in .NET Core 8
Nov 28, 2024.
Learn about IExceptionHandler in .NET 8, a robust interface for handling exceptions in ASP.NET Core. Streamline error handling with custom logic, modular design, standardized API responses, and enhanced user-friendly error management.
Overview of Minimal API
Oct 01, 2024.
Minimal API in ASP.NET Core provides a streamlined approach to building HTTP APIs with minimal configuration. Introduced in .NET 6, it allows for lightweight API development without controllers, making it ideal for small projects. This article covers key features, and differences from traditional APIs, HTTP verbs, and routing techniques.
Detailed use of Action Delegate in C#
Sep 11, 2024.
In C#, the Action delegate represents a method that does not return a value and can accept up to 16 parameters. It's useful for passing methods as arguments, callbacks, and event handling. It supports lambda expressions and anonymous methods, making code more concise. Unlike Func<T>, Action always returns void.
How to Show Direct Binary Image Using Handler in ASP.NET WebForms
Aug 09, 2024.
Learn how to display images stored as binary data in a database using an HTTP handler in ASP.NET WebForms. This guide covers creating a database table, a stored procedure for image retrieval, and implementing an HTTP handler to serve images dynamically. It also includes integrating the handler into a web form.
Understanding HttpHandler vs HttpModule in ASP.NET Web Forms
Aug 07, 2024.
In ASP.NET Web Forms, HttpHandler and HttpModule customize request processing. HttpHandler processes specific request types, such as serving dynamic content or custom file downloads. HttpModule intercepts all requests, allowing for global processing like logging, authentication, and request manipulation.
What is a Handler in ASP.NET Web Forms and How to Use It
Jul 30, 2024.
Learn about HTTP handlers in ASP.NET Web Forms, which handle specific HTTP requests like image generation and file downloads. Implement handlers by creating a class that implements IHttpHandler, registering it in web. config, and using it for efficient, lightweight request processing.
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.
Implementing CQRS and Event Sourcing with .NET Core
Jul 19, 2024.
This article explores implementing CQRS (Command Query Responsibility Segregation) and Event Sourcing with .NET Core. It covers the basics of CQRS and Event Sourcing, including commands, queries, and event storage.
How Do You Pass an Event Handler to a Component in ReactJS
May 21, 2024.
Passing event handlers to React components involves defining them in the parent, passing them as props to the child, and utilizing them in the child component's event listeners for interactive applications.
Exploring Delegating Handlers in C# .NET
May 19, 2024.
In modern software development, especially when dealing with web services, the ability to customize and extend HTTP request and response processing is crucial. This article delves into the concept of delegating handlers, illustrating their use and benefits with practical examples.
Java Applet Design: File, Edit, and Search Options with ActionPerformed Functions
Feb 26, 2024.
Create an Applet with the menu bar and add the following menus: File, Edit and Search. Add default menu items to the respective menus. In the File menu, add the following items: New, Open, Save and Close.
How to Pass a Parameter to Event Handler or Callback in React.js
Feb 22, 2024.
In React, passing parameters to event handlers can be done using arrow functions or the bind method. Choose the approach that suits your project for optimal performance and readability.
Understanding Azure Event Grid
Feb 12, 2024.
Azure Event Grid is a fully managed event routing service that simplifies the development of event-driven applications. In this article, we'll explore the key concepts, features, and use cases of Azure Event Grid, shedding light on its role in building modern, scalable, and responsive applications.
IExceptionHandler in ASP.NET Core 8
Feb 07, 2024.
ASP.NET Core 8 introduces a new feature called IException Handler, providing a centralized way to handle exceptions in applications. This article explores what IExceptionHandler is and how to use it effectively.
Extending HttpClient With Delegating Handlers in ASP.NET Core
Jan 17, 2024.
Explore the power of the HttpClient class in ASP.NET Core through Delegating Handlers. Learn to create a custom handler for logging HTTP requests and responses, enhancing HttpClient functionality with extensibility and modularity.
Implementing Unit Test .Net Core Application Using CQRS Handler
Dec 15, 2023.
Unit testing Dot Net Core using CQRS Architecture. This article delves into testing .Net Core API projects using the XUnit testing framework. Demonstrating unit tests for a CQRS architecture, it covers arrangement, action, and assertion phases with mocking and examples.
Mediator Design Pattern in ASP.NET Core Web API with 3-Tier Architecture
Oct 19, 2023.
The Mediator Design Pattern is a behavioral design pattern that defines an object that centralizes communication between a set of objects. It promotes loose coupling between components by preventing direct connections between them. Instead of components communicating directly, they communicate through a mediator.
Global Error Handling in Mule application
Jun 29, 2023.
In this article, we will learn about how to use a global error handler in Mule application.
Basic Internal Error Handlers in Mule application
Jun 27, 2023.
In this article, we will learn about some basic internal error handlers in Mule application.
Custom JWT Handler In ASP.Net Core 7 Web API
May 26, 2023.
In ASP.NET Core Web API, you can create a custom JWT (JSON Web Token) handler to handle token authentication and authorization. The custom handler lets you define your logic for validating and processing JWT tokens.
Error Handling With Angular
Dec 20, 2022.
In this article, you will learn about Error Handling with Angular.
Link Web Resource To A Form In Dynamics CRM
Jan 19, 2022.
In Dynamics 365 CRM, post creation of a web resource, to use it in CRM Form for a selected entity then we must add web resource into Form Libraries present at form level and then tie it to Event Handlers for a selected Event on Main Form. As an example, in Contact Customizations Solution for Contact Entity Main Form a web resource will be added to perform customizations on Contact Record.
Implement Global Exception Handling In ASP.NET Core Application
Nov 16, 2020.
Explore ASP.NET Core's robust exception handling mechanisms, including global handlers and custom middleware. Learn to implement middleware for comprehensive error management, ensuring smooth application execution and effective debugging.
Introduction To MediatR Pattern
Jul 29, 2020.
MediatR pattern promotes loose coupling by facilitating in-process messaging, reducing dependencies between objects. It enables one-way broadcast communication, allowing objects to communicate solely through MediatR. Advantages include message processing, easy installation via NuGet, and support for request/response and notification.
Performing Update and Delete Operations in ASP.NET Core 3 Razor Pages Using Microsoft SQL Server
Mar 17, 2020.
In this article, you will learn how to perform update and delete operations in ASP.NET Core 3 Razor Pages using Microsoft SQL Server.
Implementing CQRS Pattern with Vue.js and ASP.NET Core MVC
Mar 16, 2020.
This article mainly focuses on the CQRS pattern, how we can implement CQRS Pattern using MediatR, and how to use the CQRS pattern with ASP.NET MVC Core and Vue.Js.
Policy-Based And Role-Based Authorization In ASP.NET Core 3.0 Using Custom Handler
Feb 04, 2020.
Authentication is the process of determining or giving an individual access to system or user based on their identity. This article demonstrates how to add custom Policy-based & Role-based Authorization in ASP.NET Core 3.0.
HTTP Handlers And HTTP Modules In ASP.NET
Jan 06, 2020.
This article talks about the HTTP Modules and HTTP Handler in ASP.Net and their applications in real time.
Getting Started With Ansible - Part Ten (Handlers)
Sep 09, 2019.
This is in continuation to the articles of the series “Learning Ansible”.In this article we will be learning handlers.
Creating ‘mailto’ And ‘tel’ Link Handler
Sep 09, 2019.
Many business websites show their email addresses and phone numbers so their customers can contact them. In this lesson we will create wrapper classes around ‘mailto’ and ‘tel’ HTML links. Those classes will allow you to read and generate those links with ease.
Binding Event Handler And Method As Props In React
Jul 09, 2019.
Binding event handlers and methods as props in React involve passing functions from parent components to child components, ensuring proper binding to maintain the correct context. This pattern allows for efficient communication.
Destructuring And Event Handler In React
Jul 05, 2019.
Destructuring in React allows efficient extraction of values from objects or arrays. Event handlers manage user interactions, like clicks or input changes. They're essential for interactive UIs in React, enabling dynamic responses to user actions.
Getting Started With Unit Testing Using C# And xUnit
Oct 26, 2018.
Unit Testing in ASP.NET Core involves testing individual components or methods to ensure they work as intended. By creating test cases for small functionalities, developers can catch bugs early, improve code quality, and follow TDD principles. Tools like xUnit are used to automate and organize these tests efficiently.
Creating Custom Authorization Policy Provider In ASP.NET Core
Sep 20, 2018.
Learn how to implement custom authorization policies in ASP.NET Core using IAuthorizationPolicyProvider. Discover how to create policies dynamically based on runtime information, register them with a custom provider, and apply them to your application.
Implement Custom Image Handler In SPFx Rich Text Editor Using Angular 4
Jul 09, 2018.
Implementing custom image handler in the same, so you could be able to save the images uploaded in Rich Text Editor to the desired destination folder.
Event Handling In .NET
Oct 24, 2017.
Explore event handling in .NET, a fundamental aspect of event-driven programming. Learn about event handlers, delegates, and the EventSource class, diving into the publisher-subscriber pattern and best practices for asynchronous event handling.
Update Entity Form JS Library Without Removing Event Handlers - Quick Workaround
Jul 06, 2017.
Let’s say we have one entity with a good amount of custom fields and we have developed a web resource for the main form. Many of the fields have onchange event associated with them. Now we have a new requirement where we need to implement a similar kind of form with some new functionality for different types of users and some of the existing methods also need to be modified. The requirement is to replace new form JS library with updated new JS library but without removing dependent handlers (as we are using many onchange event handlers as it is) with minimum effort.
Basic Authentication Using Message Handlers In Web API
Mar 19, 2017.
Basic Authentication Using Message Handlers In Web API.
Dependency Service With Event Handler In Xamarin
Feb 08, 2017.
In this article, you will learn about dependency service with Event Handler in Xamarin.
Bound Service Using Messenger In Android: Part Three
Apr 15, 2016.
This article illustrates the use of Messenger along with handlers to enable bidirectional communication between Service and Activity.
JavaScript: Attach Generic Event Handler
Apr 13, 2016.
In this article you will learn about Attaching Generic Event Handler in JavaScript.
How To Use Handler In Android
Apr 12, 2016.
In this article you will learn how to use Handler in Android.
Global And Per-Route Message Handlers In Web API
Apr 08, 2016.
In this article you will learn Global and Per-Route Message Handlers in WebAPI.
Error Logging Modules And Handler (ELMAH) In ASP.NET
Mar 16, 2016.
In this article you will learn about Error Logging Modules and Handler (ELMAH) in ASP.NET.
MVC Life Cycle - Part 1
Jan 10, 2016.
In this section, I am going to describe the MVC Life Cycle.
Error Handler In ASP.NET MVC
Oct 27, 2015.
In this article you will learn about Error Handler in ASP.NET MVC.
Call Web API Using Generic Handler In ASP.NET
Oct 09, 2015.
In the article we will learn how to call Web API using generic handler in ASP.NET
Call Generic Handler Using jQuery In ASP.NET
Oct 08, 2015.
In this article we will learn how to call generic handler using jQuery in ASP.NET.
Routing In MVC with Code Example
Sep 27, 2015.
MVC applications rely on a routing system to handle URL requests, mapping them to controllers and actions. RouteConfig.cs defines routes, connected to Global.asax.cs. Routes can be added via RouteCollection or using MapRoute method. Static URL segments and custom variables enhance routing flexibility.
jQuery Unbind() method to remove a attached event handler
Aug 26, 2015.
This article shows how to use the JQuery unbind() method for HTML group div elements using JQuery scripting, HTML5 and CSS3.
Image Store and Retrieve From Database Using Generic Handler in ASP.Net
Jul 07, 2015.
We will see in this article how to store image file in a binary format and retrieve the file using HttpHandler and display it in a GridView Control.
Upload Multiple Files Using jQuery AJAX and JQueryUI Progressbar With ASP.Net Generic Handler
Jul 06, 2015.
In this article you will learn how to upload multiple files using jQuery AJAX and jQueryUI Progressbar with ASP.NET Generic Handler.
jQuery UI Autocomplete Widget Using ASP.Net Generic Handler
Jun 28, 2015.
This article explains the use of jQuery UI Autocomplete Widget using ASP.NET Generic Handler.
Understanding Events in C#
Jun 24, 2015.
In this article you will learn about events in the C# language.
Global Error Handler For AJAX Requests in MVC
Dec 02, 2014.
This article explains how to handle AJAX request exceptions globally in MVC.
Generation of CAPTCHA Image Using Generic Handler for Login Page
Jul 15, 2014.
This article explains how to create a CAPTCHA image using a generic handler.
One-Time Event Handler in ASP.Net Using jQuery
Apr 30, 2014.
This article describes how to use the one-time event handler with the One() method of jQuery in the ASP.NET.
Exception Propagation in Java
Apr 20, 2014.
In this article we will explain the propagation of the exceptions following some basic examples for good learning.
Uploading Multiple Files Using jQuery and Generic Handler in ASP.Net 4.5
Feb 10, 2014.
This article describes how to upload multiple files in ASP.NET Web Forms using the jQuery and Generic Handler.
Short Snippet For Image Handler in ASP.NET: Real World Scenario
Jan 29, 2014.
In this article, you will see how to bind an Image Handler in ASP.NET.
Event Handlers in JavaScript
Jan 23, 2014.
Here I’ll try to provide the proper syntax of some event handlers.
$exceptionHandler in AngularJS
Jan 22, 2014.
This article explains the $exceptionHandler service provided by AngularJS.
Delegates in C#
Jan 13, 2014.
This article is introducing a new reference type, delegate. A delegate is a C# language element that allows programmers to reference a method for their development work.
HTTP Message Handler in Web API: Real Time Implementation of Message Handler
Dec 30, 2013.
In this article, we will see a few real-time applications with a custom HTTP Message Handler.
HTTP Message Handler in Web API: Execution Flow of Custom Message Handler
Dec 30, 2013.
In this article, we will understand the execution flow of the message handler chain.
HTTP Message Handler in Web API: Implement Authentication Using Custom Message Handler
Dec 30, 2013.
In this article, we will implement an authentication process using a custom Message Handler.
HTTP Message Handler in Web API: Implement Server-Side Message Handler
Dec 29, 2013.
This article explains HTTP Message Handlers in the Web API and how to implement a Server-side Message Handler.
Improve Application Performance Using HTTP Handler
Dec 22, 2013.
This article explains how to improve application performance using HTTP Handlers and shows it with an example.
jQuery AJAX Introduction
Dec 16, 2013.
This article provides a quick overview of how to use jQuery with Ajax in ASP. Net.
Unobtrusive Event Handlers in Knokcoutjs
Nov 06, 2013.
In today's article you will learn about Unobtrusive Event Handlers in Knokcoutjs.
How to Bounce a Ball in Android
Sep 25, 2013.
In this Article you will learn about how to perform bounce activity on ball in Android using Android Studio
HTML 5 Web Sockets
Sep 06, 2013.
HTML 5 introduced a new specification for Bi-Directional communication or Full Duplex connection between the server and the client
Creating Custom Tag In JSP
Sep 01, 2013.
Custom tags in JSP allow users to define reusable components that can be inserted directly into JSP pages, expanding functionality beyond built-in tags. Tags are implemented using tag handlers, defined in tag libraries. This guide demonstrates creating and using a custom tag "<today>" to display the current date and time in a JSP page.
Basics of Events in JavaScript
Aug 11, 2013.
Events refer to the actions taken by a programming language when you perform a specified task.
XML Parser Function in PHP: Part 5
Jun 12, 2013.
In this article I describe the PHP XML Parser functions xml_set_end_namespace_decl_handler, xml_set_start_namespace_decl_handler, xml_set_processing_instruction_handler and xml_set_unparsed_entity_decl_handler.
Capturing and Modifying Sharepoint Alerts Through Alert Handlers
May 19, 2013.
Explore how to enhance SharePoint functionality by capturing and modifying alerts through alert handlers. Learn to customize alerts to meet specific needs, improving user experience and system efficiency.
HTTP Message Handler in ASP.Net Web API
May 16, 2013.
This article defines the message handler that handles requests and responses.
How to Add Controls and Set Properties and Event Handlers in Windows Store Apps
May 10, 2013.
In this article I show you how to add controls and set properties and event handlers in Windows Store apps using the Property pane and XAML.
Insert Record in SQL Server Using jQuery
Mar 28, 2013.
In this article I provide a quick overview of how to insert a record into SQL Server using jQuery.
Logging Errors With Error Logging Modules And Handlers (ELMAH) in ASP.NET MVC 4
Mar 15, 2013.
Error Logging Modules and Handlers (ELMAH) is an alternative to Health Monitoring System (HMS) for logging errors and is free and available under an open-source license created and managed by Atif Aziz.
Error and Logging Functions in PHP: PART 2
Mar 07, 2013.
In this article I describe the PHP error and logging functions restore_error_handler, restore_exception_handler, set_error_handler and set_exception_handler
Exception Handlers in C#
Feb 19, 2013.
In this article, I discuss what Exception Handlers are in C# and how to trap errors using try/catch blocks and their behavior when we use multiple catch statements to handle errors and finaly, how to create User-Defined exceptions.
How to Set A Progress Bar in Android
Feb 05, 2013.
In this article I will tell you how to add a progress bar to an Android application.
Calling A .NET DLL Code On HTML File Using Microsoft .NET Handler And JSON
Jan 01, 2013.
The objective of this article is to explain how to use a .ashx handler to access the DLL or any server on an HTML page using JSON to make the server side/DB call very fast in a simple manner.
Use of Error Handling in PHP
Dec 12, 2012.
In this article I am going to explain how to handle errors in PHP.
UltraGrid control with dynamic column using VB.NET
Nov 10, 2012.
The following article will explain how to add dynamic column and perform calculation in the dataset.
Owner drawn ListBox control in VB.NET
Nov 10, 2012.
In this article we will see how to write owner drawn ListBox control.
UltraGrid control with dynamic column using VB.Net
Nov 10, 2012.
The following article will explain how to add dynamic column and perform calculation in the dataset.
Android Threads and Handlers
Sep 13, 2012.
This tutorial describes the usage of Threads and Handlers in an Android application. It also covers how to handle the application lifecycle together with threads.
Cursor Move Ball in HTML5
Jun 01, 2012.
In this article we describe how create a cursor of a moving ball by using the canvas element of HTML5.
SharePoint 2010 - Lists and Event Handlers
May 02, 2012.
In this article we can explore the Event Handling features of a list through code. Using the SPList in Server Object Model we can access event handling for a list.
Practical Approach of Creating and Reusing Custom Event Handler in ASP.NET C#
Apr 18, 2012.
In this article we are going to see how to create and reuse Custom Event Handlers in ASP.NET.
Access Events via Methods or Handlers
Nov 28, 2011.
Today, we will dig on simple well known concepts called Events. The simple definition is message sent by some particular object to intimate that there is some action will be generated.
Events and Event Handler in jQuery
Nov 26, 2011.
In this article we are going to discuss about events and how to handle them by using an event handler in jQuery.
Events in .NET
Sep 21, 2011.
An event is a message sent by an object to signal the occurrence of an action. This action caused by the user interaction such as button click, mouse click etc.