Azure Services Platform Step by step 11

Source: Internet
Author: User

Windows Azure Lanzhou La Noodle Restaurant-use of logs and queues

In the 9th article, for the sake of understanding, I likened Windows Azure's environment to "Azure Lanzhou La Noodle Restaurant". In this article we continue to use this analogy to talk about queues (queue Storage) and log usage in Windows Azure.

Queue storage was introduced in the "Azure Services Platform Step by step-9th" Windows Azure Storage Overview, which is not repeated here. Queues, as the name suggests, are a queue that processes data in a first-in, first-out order. In the "Azure Lanzhou la noodle Shop" above, the queue acts as a small book for ordering, where the receptionist records the customer's order in the queue, and the kitchen chef cooks the dishes in the order of the queue, one by one.

Windows Azure Log is a log of the entire Azure platform running. Microsoft Official likened Windows Azure to "the operating system of the cloud Platform", and since it is the operating system, it will maintain the log! Windows Azure provides a very simple way to log logs, but unfortunately does not provide the same simple way to view the log--in other words, it's easy to log logs through the program, and it's cumbersome to view the logs. In order not to off, this article only shows how to view the log in development fabric. Interested readers can refer to the source code of the WPF application Azurelogviewer for how to programmatically read the log (see annex at end of article).

Experiment steps:

First step:

Create a new web and Worker Cloud Service in VS2008. This is also the first time in this series of articles to use worker role.

As with the 9th article, add a reference to the storageclient.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.