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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:57:50+00:00 2026-05-28T01:57:50+00:00

I am currently writing a custom HttpModule in an ASP .NET MVC 3 project.

  • 0

I am currently writing a custom HttpModule in an ASP .NET MVC 3 project.
I have got documentation about writing a custom HttpModule on this web page : http://msdn.microsoft.com/en-us/library/ms227673.aspx

In my module I have started to implement a handler for the BeginRequest event.
In my handler I want to change the request currently processing in the pipeline.
I want to change the request so that the HttpGet “Index” action method of my “Connection” controller will be executed later in the pipeline.

I know how to change the URL but I need help to set the Http method of the request.
I need to set the HTTP method to GET if the request was sent by the client with POST or another method.

Thanks in advance for your future help

  • 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-28T01:57:50+00:00Added an answer on May 28, 2026 at 1:57 am

    On the server you cannot change the verb of an HTTP request that was sent by the client. That simply doesn’t make sense. It’s like trying to survive a dead animal. Once the request is sent using a particular verb, this verb will be used throughout the entire request.

    Also HttpModules are not common in ASP.NET MVC. Action filters are the preferred way to subscribe to different events in the execution of controllers.

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

Sidebar

Related Questions

I'm currently writing a custom server control in ASP.net. My idea is to create
I am currently writing a small calendar in ASP.Net C#. Currently to produce the
I'm currently writing an ASP.Net app from the UI down. I'm implementing an MVP
I'm currently writing DataTemplate for my custom type lets say FootballPlayer. In this template
I'm writing a custom DAL (VB.NET) for an ordering system project. I'd like to
I am writing a custom tool and I currently have it doing what I
I'm currently writing an custom control which has to hold child control and have
I am currently writing a small custom memory Allocator in C++, and want to
I'm currently writing a program in c# wpf with a custom window. So because
I'm writing a custom form UI and currently building a select box replacement. The

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.