How to deploy Visual Studio 2010 Web Application Project using Web Deploy method?
Posted by AccuWebHosting.Com :: Heather S. on 09 September 2010 06:39 AM
This is a small demonstration of how to deploy Web Application Project of Visual Studio 2010 on Accuwebhosting server using Web Deploy method.
Open the project in Visual Studio 2010
Change the Configuration settings of your project. In general the status is set to Debug but for deployment you need to change it to Release status
For configuration settings perform the following steps:
Click Build-> Configuration Manager...
To deploy the application perform the following steps:
Click Build-> Publish <Web Application Name>
You can also use the Solution Explorer where, right click on the application name and select Publish option
It will display following dialog box:
Specify profile name if you want to change it otherwise by default it is Profile1
Change Publish Method to Web Deploy
In Service URL there are three options available:
1. To deploy locally,
2. To deploy the application remotely through Remote Agent Service,
http://<IP Address of Remote Computer>
3. To deploy the application through Windows Management Service, use the value specified by your Hosting Provider,
Next option is Site/Application. Its value must be in the form of <IIS Website Name> or <IIS Application Name>
For the local servers use the name of website and application as specified in IIS Manager
For example,Default Web Site/<ApplicationName>
To publish the application remotely, use the value given by your hosting provider which contains a domain or domain and application name
Check "Mark as IIS application on destination" option
Check "Allow untrusted certificate"
In the User-name and Password field specify your Control Panel log in user-name and password that has been given either by your Administrator or by your Hosting Provider