Ask a questionAsk a question
 

AnswerWhy do we develop application using Worker Roles ?

  • Wednesday, November 04, 2009 8:43 AMpratikmehta9 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi All, Why do we develop application using Worker Roles ? Means can't we use windows app/windos service instead of it? Thanks

Answers

  • Wednesday, November 04, 2009 8:48 AMNeil Mackenzie Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    A worker role is the Windows Azure equivalent of a Windows Service.
    • Marked As Answer bypratikmehta9 Wednesday, November 04, 2009 1:06 PM
    •  
  • Wednesday, November 04, 2009 8:55 AMbwc; Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    As Neil says, he Worker role is equivalent to a Windows Service. It builds upon it by adding features such as Health Monitoring, unavailable to Windows Services, that informs the Azure Portal of the state of your application.

    Regarding a Windows App - the Azure environments are web based and present no GUI to the web, so there is no ability to RDP onto the servers and thus interact with a Windows Application.

    BWC;

    • Marked As Answer bypratikmehta9 Wednesday, November 04, 2009 1:05 PM
    •  

All Replies

  • Wednesday, November 04, 2009 8:42 AMpratikmehta9 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi All,

           Why do we develop application using Worker Roles ? Means can't we use windows app/windos service instead of it?


    Thanks
  • Wednesday, November 04, 2009 8:48 AMNeil Mackenzie Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    A worker role is the Windows Azure equivalent of a Windows Service.
    • Marked As Answer bypratikmehta9 Wednesday, November 04, 2009 1:06 PM
    •  
  • Wednesday, November 04, 2009 8:55 AMbwc; Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    As Neil says, he Worker role is equivalent to a Windows Service. It builds upon it by adding features such as Health Monitoring, unavailable to Windows Services, that informs the Azure Portal of the state of your application.

    Regarding a Windows App - the Azure environments are web based and present no GUI to the web, so there is no ability to RDP onto the servers and thus interact with a Windows Application.

    BWC;

    • Marked As Answer bypratikmehta9 Wednesday, November 04, 2009 1:05 PM
    •  
  • Wednesday, November 04, 2009 8:58 AMAnton Staykov Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    You can't host a win-service in highly scalable environment such as Windows Azure. Because it is not a Windows Hosted solution. It is a cloud coputing solution.
    And you cannot develop WinForms/WPF (actually any user-interaction based software) to be deployed in Hosted environment as Azure (for now :) ).
    The worker role basically acts as a Windows Service. It is just best suited for the environment specifics.
  • Wednesday, November 04, 2009 1:05 PMpratikmehta9 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks all, for the clarificaiton....