2014年3月11日星期二

Installing ASP.NET on Windows 7 (Step by Step)

It had takes me few hours to figure out how to install ASP.NET on Windows 7, so I decided to make a step by step tutorial in order to help more people that still struggling with the installation.

Before starting anything, please make sure that you have the administrative user rights.

Step 1: Start Menu -> Control Panel



Step 2: Programs -> Turn Windows features on or off



Step 3:  click on the features that are checked on the following screens and then hit the OK button.



Step 4: After finishing step 3, open a web browser and type "localhost" in URL, press enter and you will now see the welcome page.
For those programmers that using wamp server and IIS together, they will find that either one of it is not running, either the server activated is apache or asp.net, it won't running both at the same time.

In this case, I had find out a useful method to overcome this problem, that is run only one server at a time, off the other one when not in used. In order to run ASP.net, you need to switch off the wamp server by configuring the ports like what I did in the pictures below:

Select Wamp server -> Apache -> httpd.conf


Change Listen and ServerName localhost from 80 to 8080


Restart Wamp services so that changes will take effect


Search "Internet Information Services" in Startup menu


Select on "Default Web Site" and click on "Start"


Type "localhost" in browser URL and here you will see the IIS is running

Here is the end of the installation of ASP.NET, thanks for viewing :D Happy Coding~


没有评论:

发表评论