Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS express deploy application

Tags:

asp.net

iis

I have visual studio 2010 at home and have developed a web application. I am now at another computer in another location. All I have is the project folder on my usb drive and all this computer has installed is IIS express. Is there any way I can somehow get my web application up and running?

like image 577
BobTurbo Avatar asked Mar 28 '11 06:03

BobTurbo


1 Answers

Assuming that you have all the files needed to run the web application in the project folder, you should be able to create the site in IIS Express and launch it.

Here's what you will probably need to add to the IIS Express configuration file. The file is typically located in "C:\Users\\Documents\IISExpress\config\applicationhost.config".

Below, you will need to change the path to the website and make sure that you bind to it correctly. You might need to change the port number if it conflicts with any other websites that you want to keep.

<sites>
    <site name="MyWebsite" id="1" serverAutoStart="false">
    <application path="/">
        <virtualDirectory path="/" physicalPath="<USB Drive>:\<FolderToMyWebsite>" />
    </application>
    <bindings>
        <binding protocol="http" bindingInformation=":8080:localhost" />
    </bindings>
    </site>
<sites>
like image 169
Brian Avatar answered Oct 19 '22 03:10

Brian