Book Image

Learning Microsoft Azure

By : Geoff Webber Cross, Geoff Webber-Cross
Book Image

Learning Microsoft Azure

By: Geoff Webber Cross, Geoff Webber-Cross

Overview of this book

Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Answers


  1. Web role and worker role.

  2. 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.

  3. RoleEntryPoint.

  4. OnStart, Run, and OnStop.

  5. The role will recycle.

  6. Use the WAStorageEmulator.exe status command.

  7. Complete or CompleteAsync.

  8. 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 or Task.WaitAll to block the thread while the tasks(s) complete; otherwise, the role will recycle.

  9. WindowsAzure.Storage and Install-package WindowsAzure.Storage.

  10. Call the CloudQueue.Delete method.

  11. Set the role instances in the role config and switch to using the full emulator in the project config.

  12. 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...