Azure Roles

Azure introduces the concept of roles in your application. Roles dictate your project type, how your application is hosted, and how you buy your Azure hosting. Today, there are basically two roles: Web and Worker.

You indicate your application’s role inside its service model. The service model is the metadata that describes to the AppFabric how your application should be provisioned and hosted. You can set your role to either Worker or Web.

The Web role is used for creating applications that are to be exposed over the Web. This includes ASP.NET, ASP.NET MVC 2, and WCF-based applications. On the Azure side, Web role applications are executed under IIS7, ASP.NET 3.5 SP1/4.0 (this includes support for native code).

The Worker role is ...

Get Microsoft® Visual Studio® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.