Iis – how install web server on a local machine (windows 7 or server 2008) for an asp.net web application

asp.netiislocalhostweb-server

i designed and developed a web application (works as a windows application) in asp.net with c# …
now i want to use this application on a local machine instead of previous windows application !
how can i install web server on a local machine (windows 7 or server 2008) for an asp.net web application?
is iis necessary or not ?
if yes where can i find it for windows 7 and how can i fonfigure it for both windows 7 and server 2008?

thanks in advance

Best Answer

For hosting it for external access, IIS the way to go (99% of people do that on a Windows computer). You can add it in Windows 7 from Programs and Features -> Turn Windows Features on or off -> Internet Information Services.

Once you install it then edit your Default Web Site and point it to your project root folder. Now browse to http://localhost or http://computer_name_or_ip.

Related Topic