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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:14:14+00:00 2026-06-10T21:14:14+00:00

i just have read an interesting article. Basically it says, you should fine-tune IIS

  • 0

i just have read an interesting article. Basically it says, you should fine-tune IIS settings for every application in 2 ways:

  1. handler mappings – remove all unused by application
  2. modules – remove all unused by application

Well, i develop ASP.NET for some time now, even at work, and we never ever have done this on production environment afaik. I understand the theoretical advantages presented – minimizing “surface” of application (security), and improving performance. But I am really curious, if you do this in real life (real projects for your customers, not proof-of-concept projects). What are the downsides of this (maintanability maybe?). And most important question – is it worth it ? Is, for example, the performance gain even visible ?

In addition, if you consider this a good practice, please present some good and consistent way (or point me to tutorial), how exactly you do this process – how you decide what stay and what to remove.

For example, what is minimal but working set for ASP.NET MVC 3 application, which uses custom authentication (session based, not relying on Forms auth, Windows auth etc.), no webservices and similar features ?

EDIT

I have found this article : http://madskristensen.net/post/Remove-default-HTTP-modules-in-ASPNET.aspx

In it, Scott Guthrie says:

In general you can get some very small performance wins using this approach – although I’d probably recommend not doing it. The reason is that some features of ASP.NET (forms auth, roles, caching, etc) will of course stop working once you remove the modules they depend on. Trying to figure out why this has happened can often be confusing.

But still no measurments, practices (i am not really convinced by “you can be surprised later” argument 🙂

  • 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-06-10T21:14:16+00:00Added an answer on June 10, 2026 at 9:14 pm

    For what’s it worth, Security Best Practices for IIS 8 has this:

    • Install only the IIS modules you need.

      IIS 8 is composed of more than 40 modules, which allow you to add modules you need and remove any modules you don’t need. If you
      install only the modules you need, you reduce the surface area that is exposed to potential attacks.

    • Periodically remove unused or unwanted modules and handlers.

      Look for modules and handlers that you no longer use and remove
      them from your IIS installation. Strive to keep your IIS surface
      area as small as possible.

    IIS Modules Overview also has IIS modules reference with a section called ‘Potential issues when removing this module‘ for each module. For example, if DefaultAuthentication module is removed:

    Some ASP.NET features may not work for anonymous requests if ASP.NET authentication mode is Forms.
    Also, DefaultAuthentication.OnAuthenticate event will not be raised.

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

Sidebar

Related Questions

I have just read this interesting article about the implementation details for various languages
I have just read this in the book OpenCV 2 Computer Vision Application Programming
I just want what my title says.I have already read all the previous similar
I just read this rather interesting article, Copying Accelerated Video Decode Frame Buffers .
I've just read an interesting article about how Microsoft seems to be moving towards
Just read this interesting article by Omar on his blog Linq to SQL solve
Just have read sass changelog and found out that FSSM (the gem that had
I recall I have read about a parser which you just have to feed
i have just started using Moq ver (3.1) and i have read blogs and
I have just switched from svn to mercurial and have read some tutorials about

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.