deploy ASP.NET project to another server
Posted on 2012-09-18
I have an ASP.NET project made in Visual Studio 2010.
We have three Windows 2008r2 virtual machine servers,
I RDP into the development server and I create my projects in Visual Studio 2010.
When I'm finished, I right-click on the main project in Solution Explorer, choose "Publish Web Site."
I choose C:\inetpub\wwwroot\applicationFoo as the destination.
Then in IIS 7.5, I go under the Default Web Site, and I make the applicationFoo folder into an application.
Then I assign the correct Application-Pool and all that.
What I've been doing so far when I want to transfer from development to test and then to production is I go to the C:\inetpub\wwwroot\applicationFoo folder, I copy and paste everything there to the same folder in the test server.
Then I configure the settings on the IIS in the test server.
Then I tried making the C:\inetpub\wwwroot\applicationFoo shared with permissions just for me (as administrator) so that I could publish from Visual Studio in development straight to the folder in test.
I don't want to make a zip file.
Is there a better way?
How about publishing to a remote site?