Polybius
12-09-2009, 09:48 AM
Hello all,
Today I was able to successfully deploy my first little HelloWorld web app (ASP.NET 4.0) using Visual Studio 2010 Beta2, to my sandbox here at DASP.
I'll list the steps here in case others encountered some of the problems I did.
1. Using VS 2010 Beta2 I made a simple web application, accepting all the defaults. The web app simply says "Hello World" when a user clicks a button.
2. I hit F5 to run it in debug mode (the default).
3. In the Solution Explorer window, I selected the project WbApHelloWorld. Then, using the main menu I chose Build/Publish WbApHelloWorld. This opened the Publish Web dialog.
4. I accepted Build Configuration: Debug
5. I accepted Publish Method: MSDeploy Publish
6. I entered to Service URL: https://netfx4lab.discountasp.net
7. I entered for Site/Application: userXXX.netfx4lab.discountasp.net
8. I accepted UNchecked box for "Mark as IIS application on destination"
9. I accepted checked box for "Do not delete extra files on destination" (See note below)
10. I checked box "Allow Untrusted Certificate" (First I tried as unchecked, but that resulted in failure.)
11. I entered my User Name and Password for my sandbox account.
12. I clicked Publish button, and received message "Publish succeeded."
OUTCOME:
I then tested the newly deployed site by surfing to:
http://userXXX.netfx4lab.discountasp.net/default.aspx
The reason I had to include Default.aspx on the above url is because I had checked "Do not delete extra files on destination", which resulted in leaving the original INDEX.HTML file (when DASP set up the sandbox for me) there, so that when I surfed simply to "http://userXXX.netfx4lab.discountasp.net", I saw the original sandbox home page, making me think at first that the deployment had failed.
So, I'm happy that the deployment worked well.
Many thanks to the folks at DASP for providing us all with the nice free sandbox account.
Today I was able to successfully deploy my first little HelloWorld web app (ASP.NET 4.0) using Visual Studio 2010 Beta2, to my sandbox here at DASP.
I'll list the steps here in case others encountered some of the problems I did.
1. Using VS 2010 Beta2 I made a simple web application, accepting all the defaults. The web app simply says "Hello World" when a user clicks a button.
2. I hit F5 to run it in debug mode (the default).
3. In the Solution Explorer window, I selected the project WbApHelloWorld. Then, using the main menu I chose Build/Publish WbApHelloWorld. This opened the Publish Web dialog.
4. I accepted Build Configuration: Debug
5. I accepted Publish Method: MSDeploy Publish
6. I entered to Service URL: https://netfx4lab.discountasp.net
7. I entered for Site/Application: userXXX.netfx4lab.discountasp.net
8. I accepted UNchecked box for "Mark as IIS application on destination"
9. I accepted checked box for "Do not delete extra files on destination" (See note below)
10. I checked box "Allow Untrusted Certificate" (First I tried as unchecked, but that resulted in failure.)
11. I entered my User Name and Password for my sandbox account.
12. I clicked Publish button, and received message "Publish succeeded."
OUTCOME:
I then tested the newly deployed site by surfing to:
http://userXXX.netfx4lab.discountasp.net/default.aspx
The reason I had to include Default.aspx on the above url is because I had checked "Do not delete extra files on destination", which resulted in leaving the original INDEX.HTML file (when DASP set up the sandbox for me) there, so that when I surfed simply to "http://userXXX.netfx4lab.discountasp.net", I saw the original sandbox home page, making me think at first that the deployment had failed.
So, I'm happy that the deployment worked well.
Many thanks to the folks at DASP for providing us all with the nice free sandbox account.