Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Microsoft Azure

You're reading from  Learning Microsoft Azure

Product type Book
Published in Oct 2014
Publisher Packt
ISBN-13 9781782173373
Pages 430 pages
Edition 1st Edition
Languages
Authors (2):
Geoff Webber Cross Geoff Webber Cross
Profile icon Geoff Webber Cross
Geoff Webber-Cross Geoff Webber-Cross
Profile icon Geoff Webber-Cross
View More author details

Table of Contents (19) Chapters

Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with Microsoft Azure 2. Designing a System for Microsoft Azure 3. Starting to Develop with Microsoft Azure 4. Creating and Managing a Windows Azure SQL Server Database 5. Building Azure MVC Websites 6. Azure Website Diagnostics and Debugging 7. Azure Service Bus Topic Integration 8. Building Worker Roles 9. Cloud Service Diagnostics, Debugging, and Configuration 10. Web API and Client Integration 11. Integrating a Mobile Application Using Mobile Services 12. Preparing an Azure System for Production Index

Exploring worker roles


To begin with, we're going to create a boiler-plate worker role in Visual Studio, run it locally, then publish it, and run it on Azure. It's possible to create a cloud service in the portal, then publish a project to it or upload a package.

It's also possible to automatically provision a cloud service during the first publish from Visual Studio, which is the approach we'll take.

Creating a worker role

We'll create the role using the following procedure:

  1. I've created a blank solution called AzureBakery.Production, which is the start of our production business unit solution for the worker role, production data model, WPF management application, and Web API service.

  2. To create a worker role, right-click on the solution root in Visual Studio and go to Add | New Project, then select Windows Azure Cloud Service under the Cloud templates, choose Name, and click on OK:

  3. Select Worker Role (notice that there is a template for a Worker Role with Service Bus Queue option, which is a...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $19.99/month. Cancel anytime}