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 6892183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:30:09+00:00 2026-05-27T06:30:09+00:00

I have a global.asax and I would like to check in the Application_Start method

  • 0

I have a global.asax and I would like to check in the Application_Start method if a IHttpHandler with a certain name is registered. How can I do this?

The handler can be declared in the apps own web.config or one of another virtual parent directories or the machine.config.

  • 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-27T06:30:10+00:00Added an answer on May 27, 2026 at 6:30 am

    I’m not aware of a public method to do what you’re asking for.

    I think the code you want is either HttpContext.Current.ApplicationInstance.GetHandlerMapping(), .MapHttpHandler() or .MapIntegratedHttpHandler(), but they are private or internal methods. However, you should be able to use reflection to call them.

    An alternative would be some trial-and-error type testing (try to request a target that should be routed to the expected handler, and see what happens in several place, such as in the MapRequestHandler event in an HttpModule — but I think Application_Start is too early for that.

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

Sidebar

Related Questions

I have both Page_Error method in page that raises error, and Application_Error in global.asax.
I have the following routes defined in my Global.asax: routes.MapRoute(name: Home, url: , defaults:
I have a Global.asax where I define routes (see RegisterRoutes method below) I will
I would like to log unhandled exceptions from the global.asax to the Application eventlog.
It's most common practice to register routes in Application_Start event within global.asax.cs/vb file. But
I have a question about global.asax that I don't really understand. My scenario is
I have a number of .js files that I would like to be stored
Right now, in development I have the following code in the Global.asax.cs file that
I have an existing ASP .NET MVC application and I would like to ignore
I would like to have a timer for an ASP.net application that will kick

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.