Jump to content

How to Install the IIS and ASP.NET Modules?


Linux Hint

Recommended Posts

ASP.NET is a web framework used to create websites using various languages. To host and manage these websites, IIS is used. Microsoft’s Internet Information Services, or IIS, is a web server used to exchange internet content with web users. Various modules of ASP.NET and IIS must be installed in order to create, deploy and host these websites.

This write-up will provide the complete procedure to install IIS and ASP.NET modules on Windows.

How Do I Install the ASP.NET and IIS Modules on Windows?

Internet Information Services, also known as IIS, and the ASP.NET modules can be installed either by using the UI (User Interface) or by using the CLI (Command Line Interface). Follow the steps exhibited below to install IIS and ASP.NET modules using both these methods.

Method 1: Installing ASP.NET and IIS Using UI

To install ASP.NET and IIS using UI, follow the steps demonstrated below.

Step 1: Open Control Panel

From the start menu, search, and open the Control Panel:

word-image-342582-1.png

Step 2: Go to Program and Features

Select the “Program and Features” option from the list:

word-image-342582-2.png

Next, click on the “Turn Windows features on or off” option:

word-image-342582-3.png

Step 3: Install IIS and ASP.NET Modules

From the appeared “Windows Feature” section, check the below-highlighted boxes and click on the “OK” button:

word-image-342582-4.png

Next, select the highlighted-below option from the appeared window:

word-image-342582-5.png

After that, Windows will start downloading the required files:

word-image-342582-6.png

Once the required files are successfully downloaded, Windows will start applying the new changes:

word-image-342582-7.png

The following snippet demonstrates that Windows has completed the requested changes:

word-image-342582-8.png

Method 2: Installing IIS and ASP.NET Using Command Line Interface

Follow the steps exhibited below to install IIS and ASP.NET using CLI.

Step 1: Open Command Prompt

To install IIS and ASP.NET using the command line, search for “cmd” in the start menu and click on the “Run as Administrator” option:

word-image-342582-9.png

Step 2: Insert the Command

Insert the command given below and press Enter on the keyboard:

Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

Once the above-given command is executed, the Command Prompt cursor will move to the next line without showing any error message. This signifies the successful installation of the IIS and ASP.NET modules:

word-image-342582-10.png

That is all about installing ASP.NET and IIS modules on Windows.

Conclusion

To Install the ASP.NET and IIS modules on Windows, first, open the “Control Panel” and navigate to the “Program and Features” option. Next, click on “Turn Features on or off” and check the relevant boxes for IIS and ASP.NET installation. After that, Windows will download the required files and apply the new changes. This write-up has presented a couple of methods for installing IIS and ASP.NET modules on Windows.

View the full article

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...