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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:41:32+00:00 2026-05-24T15:41:32+00:00

In IIS7 integrated mode, especially in ASP.NET MVC and .NET4, all modules run for

  • 0

In IIS7 integrated mode, especially in ASP.NET MVC and .NET4, all modules run for all request. runAllManagedModulesForAllRequests=”true”. making runAllManagedModulesForAllRequests=”false” give me headace and too many issue about this until I get confused.

So to make it simple, just let my module accept all request including static file but in the module like BeginRequest, I want to handle only if it is not static file. How to filter or check this condition in module?

  • 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-24T15:41:32+00:00Added an answer on May 24, 2026 at 3:41 pm

    This doesn’t exactly answer your question, but since nobody else has answered, I have what could possibly be part of the solution.

    If you split your module into two, one for managed handler requests, and one for everything else, then in your web.config, where you add your “managed handler request” module, you can add the attribute preCondition=”managedHandler”. So it would look like this:

        <system.webServer>
          <modules>
            <add name="DynamicRequestModule" type="..." preCondition="managedHandler" />
            <add name="StaticRequestModule" type="..." />
    

    Given this configuration, the “DynamicRequestModule” module will execute only when the request is for a resource that has a managed handler.

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

Sidebar

Related Questions

Why do I need 'Classic Mode' in ASP.NET MVC in IIS7? Integrated Mode provides
My web-site is working under ASP.NET 3.5, IIS7, Integrated pipiline mode. My HttpModule is
Has anyone managed to run wcf successfully in 2.0 integrated mode on IIS7 when
I have a Asp.Net MVC application that runs on a shared host under IIS7.
I have a site built using asp.net mvc running on IIS 7 using integrated
Out of the box, SubText is unable to run under IIS7's Integrated Pipeline Mode.
Hi Stackoverflow, Im trying to deploy a hybrid ASP.Net Webform/mvc-project onto iis7 but the
I have a Bootstrapper that looks through all Assemblies in an ASP.NET MVC application
I'm running IIS 7 Integrated mode and I'm getting Request is not available in
I'm using IIS7 and ASP.NET. Basically building a simple CMS and need to handle

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.