Accu Web Hosting   

Portal Home > Knowledgebase > Website Publishing > How do I setup my website? > How to deploy Visual Studio 2010 web application project using Web Deploy method

How to deploy Visual Studio 2010 web application project using Web Deploy method

This is a small demonstration on how to deploy Web Application Project of Visual Studio 2010 on AccuWebHosting server using Web Deploy method.
    1. Open the project in Visual Studio 2010.

    2. 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.

      • From the Configuration Manager dialog box, figure out Active Solution Configuration option. From the drop down menu select Release status and then close the dialog box.

        Screenshot of Configuration Manager setting

    3. To deploy the application perform the following steps:

        • Click Build-> Publish.

        • You can also use the Solution Explorer where, right click on the application name and select Publish option.

        • It will display the following dialog box:

          Screenshot of Web Deploy publishing method

        • Here,

        1. Specify profile name, if you want to change it, Otherwise, by default it is Profile1.

        2. Change Publish Method to Web Deploy.

        3. For Service URL, there are three options available:

            • To deploy locally,


            • To deploy the application remotely through Remote Agent Service,

              http://<IP Address of Remote Computer>

          • To deploy the application through Windows Management Service, use the value specified by your Hosting Provider,


    1. 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.
        For example,

        <DomainName>/<Sub Directory>

  1. Check 'Mark as IIS application on destination' option.

  2. Check 'Allow untrusted certificate'.

  3. In the Username and Password field specify your Control Panel log in username and password that has been given either by your Administrator or by your Hosting Provider.

  4. Click on Publish.

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read