A Step Further: Web Roles and Worker Roles

A key concept in Microsoft Azure development is the role, which is typically a single component running in the Azure environment and built in managed code. Roles can be of two types: web roles and worker roles. A web role is an ASP.NET web application or a WCF service. You might think of worker roles as services running behind the scenes—for example, running in the cloud in the case of Windows services. An Azure solution can have multiple roles and multiple instances of one role; moreover, you can configure roles as required. So web roles and worker roles can leverage all Azure services.

Working with roles has an important advantage: Visual Studio allows you to simulate the Microsoft Azure platform ...

Get Visual Basic 2015 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.