Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 923111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:08:32+00:00 2026-05-15T19:08:32+00:00

Very noob question, In asp.net can you explain in the simplest possible way what

  • 0

Very noob question,

In asp.net can you explain in the simplest possible way “what is an handler?”
How can you use handlers..

Thanks a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:08:33+00:00Added an answer on May 15, 2026 at 7:08 pm

    Do you mean an “event handler”, or something that inherits from IHttpHandler? In both cases handler describes something that reacts to an event occuring. An event handler would be, for example, a method that is called when a button is clicked:

    public void MyButton_OnClick(object sender, EventArgs e)
    {
      // Code to respond to the button click here
    }
    

    Something that inherits from IHttpHandler could be, for example, a page in an ASP.net Web Forms application (as all pages you create inherit from System.Web.UI.Page which in turn inherits from IHttpHandler) or a “Generic Handler” (a file usually with the extension .ashx).

    An example of a generic handler would be:

    public class MyGenericHandler : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
            context.Response.Write("Hello, world!");
        }
    
        public bool IsReusable
        {
            get
            {
                return true;
            }
        }
    }
    

    This would be more performant than having an ASP.net Web Forms page that did similar as it doesn’t need to build all the Web Forms “framework” of the page lifecycle, viewstate and so on for each request, which means that it’s better suited to requests that don’t need to render presentation/markup, such as anything that would be responding to an AJAX request.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm very noob when it comes to ASP.NET MVC. I'm looking at the starter
This might be a very noob question, but I can't seem to find the
I feel like this is a very noob question.. but I just can't get
This is a very noob-ish question but I can't figure it out. I want
Very noob question, I know, but I didn't manage to handle real-time slider move
This is basically a very noob question about Ruby console (IRB), but I couldn't
Hi there this might me a very noob question but I'm stuck, and I'm
This is a very general and noob question, but I am a noob with
Sorry if this is a stupid noob question. I'm doing a very small project
I am complete Java noob and this question will be very easy. I did

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.