Azure Services Platform Step by step Seven

Source: Internet
Author: User
Tags web services

Don't take Windows Azure as a virtual host--Understand the Windows Azure Service architecture

Recently, a friend asked me: Windows Azure is not a Microsoft official provider of asp.net application virtual host?

His specific understanding is this: Windows Azure provides hosting for ASP.net applications, and "cloud computing" is so close to us that as long as the ASP.net application is deployed on window Azure, the previous asp.net applications become "cloud apps"!

What's the deal? This understanding is completely affected by today's social chaos. NET virtual host market forced out. Windows Azure serves as a service for Azure services platform, and if you only use him to store your outdated asp.net applications, it's overkill, waste.

So, how should Windows azure be used? It is more than the average virtual host cattle where? That's also from Windows Azure's service architecture.

Roles (role):

It's very important to talk about the role problem first. Without understanding Windows Azure's concept of role, there is no way to understand Microsoft's painstaking "cloud".

The programs deployed to Windows Azure play the following two roles: Web role and worker part.

Web role: As the name suggests, is to provide roles for Web services. To put it simply, the Web role is ASP.net applicantion, the cloud version of your local asp.net application! Supports the HTTP/HTTPS protocol and provides WCF services.

Worker role: An application that runs in the background. It can access any network resources, data sources, and operate in the background. It never shows up in front of the public (without opening the external access interface), it is ordered to execute without complaint (the queue service's Message Queuing can guide its work), it is like an unknown selfless devotee. You can use the Windows System service analogy with it, once started, has been running in the background. It's cool, huh? This function is worthy of attention, we see clearly, this is the general virtual host can not provide OH ~ Even Google is proud of the cloud platform Google App Engine, so far has been updated many many times, and never considered let a section of the program in the background long-term operation!

This workder role has a "cloud" concept: The cloud has been quietly running, people on the ground can not see it, but can not do without it.

So, "cloud computing" does not mean that as long as you put "computing" on the "cloud" can be, and thoroughly let "calculation" in the "cloud" run. It includes the following layers of meaning: on the cloud-no local server is required; The cloud is large-the computation can be very large; wherever it is, a rise is a cloud-the application of the Yunping platform can be used no matter where and by what device; hiding in the clouds-its computational process, no matter how complex, is not needed to be seen by users on the ground.

Attachment to Role

Web role and worker role These two children also joined the family of Windows Azure with their families, temporarily including:

Use the local storage as a cache

Standard event Streams log, issue a warning

Health Report

Oh, these are ordinary virtual host can not have it? "Cloud Host" function is very powerful, matching is very perfect!

Service definitions (services definition)

Programs that live in the new environment of Windows Azure are often puzzled by the question of life: Am I a Web role or a worker role?

That's what we need to help them with.

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.