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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:18:01+00:00 2026-05-23T04:18:01+00:00

Requests for my css, js, image files are being served through the ASP.NET pipeline.

  • 0

Requests for my css, js, image files are being served through the ASP.NET pipeline. I thought IIS by default avoided this, but I see the requests on my Application_AuthenticateRequest breakpoint and there’s no need to actually authenticate those requests. I’ve seen conflicting approaches to change this behavior – What is the best way to do this?

  • 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-23T04:18:02+00:00Added an answer on May 23, 2026 at 4:18 am

    I’m taking a guess here and suspect that you have the following setting configured in your web.config file:

    <modules runAllManagedModulesForAllRequests="true">
    

    This means that every request, including those for static content is hitting the pipeline.

    Change this setting to:

    <modules runAllManagedModulesForAllRequests="false">
    

    This is assuming your application is running under ASP.NET 4.0 and MVC3.

    For this to work you need to install KB980368 (requires a reboot) or Windows 2008R2 SP1 (which includes this hotfix). The reason for this is explained in this excellent article:

    How ASP.NET MVC Routing Works and its Impact on the Performance of Static Requests

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

Sidebar

Related Questions

With integrated pipeline, all requests are passed through ASP.NET, including images, CSS. Whereas, in
My root already has all the css and image files I require www.example.com (my
I understand that requests are served by different threads, but do they all come
I'm trying to load a gif file within my .css file, like this: li.box_entry
I'm quickly falling in love with ASP.NET MVC beta, and one of the things
YSlow says that images referenced from my CSS file (background image, for example) are
I use an HttpHandler to dynamically serve images in a ASP.Net web application. I
I'm having issues serving out static (image) files from an Azure + MVC 3
in google chrome, i go to an asp.net web site url after enabling the
I'm implementing a content database for a C# Asp.Net MVC3 website in Sql Server.

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.