Simple understanding of Azure applications

Source: Internet
Author: User
Keywords Azure Applications

This article continues to describe applications for understanding azure

Configured file-related

Today, we know three different types of roles. So next, let's take a look at the two different types of configuration files that are included in Windows Azure applications.

Serviceconfiguratiobn.cscfg

You can also update the configuration file without stopping the Azure service. This file mainly contains the following information:

1, number of instances of the role

2, different types of values set.

1, the number of instances refers to the number of instances of the web role or worker role that will be run.

2, in the above configuration file, we see that the application is using local development memory.

Servicedefinition.csdef

This file contains the following information:

1, the various roles used by this service.

2, about the use of this service "certificates" information.

3, "Input end point" and "Internal end point" for this service.

4, this service requires local disk storage.

5, the configuration settings used by different roles.

This configuration defines the Web role or worker role. Let's understand each of the sections of the file in one place.

<Sites>

<site name= "Web" >

<Bindings>

<binding name= "Endpoint1" endpointname= "Endpoint1"/>

</Bindings>

</Site>

</Sites>

This section contains definitions for sites and Web applications. These sites and Web applications are hosted in IIS 7.

<Endpoints>

<inputendpoint name= "Endpoint1" protocol= "http" port= "no"/>

<internalendpoint name= "Endpoint2" protocol= "tcp" port= "8989"/>

</Endpoints>

In this configuration file, there are two types of "end point", "Input end point" and "Internal end point".

Input end point contains the definition of "end point" that is used to contact the managed service.

"Internal end point" contains the definition of "end point" for communication between roles.

<Certificates>

<certificate

Name = ""

Permissionlevel = ""

Storelocation = ""

Storename = ""/>

</Certificates>

This section contains the certificates that the role requires.

<Impotrs>

<import modulename = "Diagnostics"/>

</Impotrs>

This subsection contains the definition of the import rule.

Storage services

The last component of the Azure application is the Azure Storage Service. There are three kinds of azure services:

1, for unstructured data (BLOBS)

2, for structured data (TABLES)

3, message delivery between applications and services (QUEUES)

BLOBs is mainly used for large data storage. There are two types of BLOB storage, "Block BLOB" and "PAGE blob." Azure Table is used to store structured data. The CRUD (create,retrieve,update, and delete) operations can be implemented using the OData protocol, or you can use the same syntax as the WCF Data service. Each row in Azure Table is uniquely identified by the row Key and Partition key.

SQL Azure

You can also use SQL Azure to achieve the purpose of storage.

Conclusion

In this article, we have a brief introduction to a Windows Azure application. This paper focuses more on theory. In the next article in this series. We'll use walkthroughs to study Windows Azure applications. Thank you for your reading.

Original name: Windows Azure for Developers Task 3:understanding Windows Azure Creator Author: Dhananjay Kumar

"Azure Developer Task Three: Understanding Azure Apps (top)"

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.