Web role and worker role.
Web roles run on dedicated virtual machines, which can be debugged remotely using IntelliTrace and allow advanced configuration and debugging with remote desktop and start-up tasks available on the virtual machines.
RoleEntryPoint
.OnStart
,Run
, andOnStop
.The role will recycle.
Use the
WAStorageEmulator.exe status
command.Complete
orCompleteAsync
.As the tasks are asynchronous, they are queued onto the thread pool and not called immediately, so the calling method continues and is not blocked. We need to use
Task.Wait
orTask.WaitAll
to block the thread while the tasks(s) complete; otherwise, the role will recycle.WindowsAzure.Storage
andInstall-package WindowsAzure.Storage
.Call the
CloudQueue.Delete
method.Set the role instances in the role config and switch to using the full emulator in the project config.
If we're not currently using a role instance during development, it's a good idea to delete it during development as we will be incurring charges for...
Learning Microsoft Azure
By :
Learning Microsoft Azure
By:
Overview of this book
Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Microsoft Azure
Designing a System for Microsoft Azure
Starting to Develop with Microsoft Azure
Creating and Managing a Windows Azure SQL Server Database
Building Azure MVC Websites
Azure Website Diagnostics and Debugging
Azure Service Bus Topic Integration
Building Worker Roles
Cloud Service Diagnostics, Debugging, and Configuration
Web API and Client Integration
Integrating a Mobile Application Using Mobile Services
Preparing an Azure System for Production
Index
Customer Reviews