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?
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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With