which feature I need to choose on IIS?

丁丁大魔王 81 Reputation points
2021-10-06T15:42:38.44+00:00

I want to install IIS to host my asp.net application. But there are two many check boxes and features. I don't know which features are necessary and what are they used to.
138252-pqhipfws7npsk7s12xm5jm.png

Can you give me some advises about these features?

Internet Information Services
{count} votes

Accepted answer
  1. Bruce Zhang-MSFT 3,736 Reputation points
    2021-10-07T03:03:39.27+00:00

    Hi @丁丁大魔王 ,

    FTP Server

    If you do not need to upload files to the server, you can uncheck FTP Server. It is used to upload and download files from IIS.

    Web Management Compatibility

    Just check it, it will install those necessary functions and won't install unnecessary functions.

    World Wide Web Services

    • Application Development Features

    Check ASP and ASP.NET3.5 or 4.8 (depend on the version of asp.net you use). CGI, ISAPI extensions and ISAPI filters are used to configure custom ISAPI extension file.

    • Common HTTP features
    • Health and Diagnostics

    You can check all. They are commonly used in IIS and great features to troubleshoot server and application error.

    • Performance features
    • Security

    You can check all. They are used to improve the performance of IIS and different authentications.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Lex Li (Microsoft) 4,742 Reputation points Microsoft Employee
    2021-10-06T16:00:23.387+00:00

    You might get some ideas from https://learn.microsoft.com/en-us/aspnet/web-forms/overview/deployment/visual-studio-web-deployment/deploying-to-iis#install-iis

    However, skip any step related to Web Platform Installer, as it is becoming obsolete.

    0 comments No comments

  2. Michael Taylor 48,976 Reputation points
    2021-10-06T16:37:15.907+00:00

    If you just check the root box then it should auto-select the most appropriate options. I would start there and only add new features as needed. A lot of this depends upon what features your app needs.

    • FTP Server - not needed
    • Web Management Tools - defaults should be fine
    • WWW Services
      • App Dev
        • At a minimum you need ASP.NET 4.8.
        • Others only if needed
      • Common HTTP Features
        • Default Document - yes
        • HTTP Errors - yes
        • HTTP Redirection - probably but could leave off until needed
        • Static Content - yes
      • Health & Daignostics - enable these when you need logging or are having request issues
      • Performance
        • Static Content - yes
        • Dynamic Content - I wouldn't recommend it as it causes issues in my experience but you can try and see
      • Security - enable the auth modes you support in your apps
        • Basic Auth - probably need this
        • Request Filtering - turn on when needed
        • Win Auth - only if this is an internal server
    0 comments No comments