Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8347143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:16:11+00:00 2026-06-09T07:16:11+00:00

As an example, I have a hosted service with two roles, web and worker.

  • 0

As an example, I have a hosted service with two roles, web and worker. I want to get rid of the worker role temporarily. Is there an easy way to achieve this? It would seem like something that should be trivial.

In the azure portal, if I select one of the roles and hit STOP, it stops all the roles in the hosted service. In Visual studio, I could delete the role from the “Roles” folder and republish, but then when I want to have that role start again I would have to go through the whole process of adding the role; and a seemingly unnecessary publish.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T07:16:13+00:00Added an answer on June 9, 2026 at 7:16 am

    At the moment you won’t be able to do this without republishing your application. But there is an easy way to manage this in Visual Studio. You can create 2 Azure projects, one with the WorkerRole and one without the WorkerRole (note that you’ll need to duplicate everything you configure for the WebRole, like certificates, service configuration, …):

    enter image description here

    And to make this deployment process a bit easier I suggest you write a PowerShell script that does the following (for example):

    • Upload *.cspkg
    • Deploy to staging
    • VIP swap
    • Delete staging deployment

    Anyways, changing the number of instances to 0 would have been the perfect solution for you, but this isn’t possible at the moment. Someone of the product team confirmed that this feature would be coming, but it would only be in a release after the fall of 2012. Vote for the feature here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Example: I have a view controller and get rid of it. But there's still
I have two WCF services hosted with a hosting provider. Both service to work
I have a trivial .Net 2.0 SOAP web service. I want to access it
I have the main website hosted by a reliable static web hosting service. Which
I have two exactly the same web sites hosted in two different machines under
Is there an easy way to migrate a hosted LAMP site to Amazon Web
I have a WCF service hosted that is returning a byte[] of protobuf-net serialized
I have a WCF service which is hosted on IIS6 on a Win2003 SP2
I have a WCF service which is hosted in a Windows Service and has
I have a WCF service (.NET 4) hosted in IIS. My service contract has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.