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

  • Home
  • SEARCH
  • 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 6365245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:16:09+00:00 2026-05-25T00:16:09+00:00

We are porting our old Webapp from WebForms to MVC Asp.net , I have

  • 0

We are porting our old Webapp from WebForms to MVC Asp.net , I have creatain HttpHandlers on the old app used for basic reporting.

We were calling them directly i.e http://www.something.com/handler.ashx?ID=1 on button clicks.

Now I need to port the same functionality in MVC Asp.Net , coding the handler was the easy task but How do I cater the query string and route my request to the Handler ?

  • 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-25T00:16:10+00:00Added an answer on May 25, 2026 at 12:16 am
    1. You can use the handler normal like other applications, no need to routes for using it.
    2. If you run your application in IIS7 Integrated mode, the http handler must be defined in handlers element of system.webServer section (httpHandlers section works for IIS6 and IIS7 Classic mode).
    3. Also check http://blog.maartenballiauw.be/post/2008/05/ASPNET-MVC-custom-ActionResult.aspx, it features an image action result which just uses the standerd ASP.NET MVC lifecycle.

    copied from http://forums.asp.net/t/1320309.aspx/1?How+to+use+a+custom+HttpHandler+in+MVC+

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

Sidebar

Related Questions

I've been tasked with porting/refactoring a Web Application Platform that we have from ASP.NET
Porting an application from C# (1.1 framework) to VB.NET (3.5 framework), and I have
I am porting some of our app from c# to java. Some data objects
We are porting our app to Delphi XE2 from Delphi 6. Problem is, the
I'm porting our old Active-Record based API over to a new structure to make
I am currently porting our code from an alpha (Tru64) to an i386 processor
We are looking at various options in porting our persistence layer from Oracle to
We have recently been faced with the problem of porting our C++ framework to
Im porting a project from php to java. The project is a web-app based
I am currently tasked with porting our website code onto a linux server (from

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.