Deploy a website and web app using deployment agent

rajindersingh's Avatar


28 May, 2015 12:45 AM


I am trying to deploy a windows service and a web application to an azure vm using deployment agent.
Both web app and windows service are in the same solution.
website is already being automatically packaged.
I am packaging up the windows service using 7z.
How do I deploy them on the same VM?
I am using pushartifact to push the windows service zip file.
web application is already packaged.
Do I have to use deploy.ps1 to deploy the website?

Let me know the best way to accomplish this.


  1. Support Staff 1 Posted by Feodor Fitsner on 28 May, 2015 01:54 AM

    Feodor Fitsner's Avatar

    You just setup two artifacts on Agent environment settings, foe example:

    svc_artifact.deploy_service = true
    svc_artifact.service_name = myservice
    web_artifact.deploy_website = true
  2. 2 Posted by rajindersingh on 28 May, 2015 04:23 AM

    rajindersingh's Avatar

    This worked for me.

    For some reason my windows service in the same VM keeps on hanging.
    It keeps getting stuck in "stopping" status so the deployment agent is unable to update it.

    This is most likely an issue with my service itself but I wanted to see if you have seen this behavior before.


  3. Support Staff 3 Posted by Feodor Fitsner on 28 May, 2015 04:30 AM

    Feodor Fitsner's Avatar

    I've see that before, but usually it's something going on in the service OnStop.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac