tailieunhanh - Introducing Windows Azure- P9

Introducing Windows Azure- P9:The cloud platform is getting more and more attractive to the computing world. Today, service-oriented architecture (SOA) and aspect-oriented programming (AOP) techniques are widely used in enterprise solutions. A question an IT management team or a software development team may ask is, what is the next trend going to be? Cloud computing seems to be the right answer. | CHAPTER 1 CREATE CLOUD TABLE STORAGE When development storage is created the first time message boxes will be popped up as shown in Figure 1-7 and Figure 1-8. The local development storage and development fabric can be manually started from the Windows Start menu as Figure 1-9 shows. Figure 1-10 and Figure 1-11 show the results of these services having been successfully started from the local development environment. Figure 1-7. Dialog message to confirm installation ofdevelopment storage Figure 1 -8. Confirming the settings using the default endpoint address for development storage the first time local development storage is used 13 CHAPTER 1 CREATE CLOUD TABLE STORAGE Figure 1-9. Manually starting local development storage and development fabric Figure 1-10. Opening the information window to verify current status of the development fabric Show Development Storage LU Development Storage Services Jll ILJMjlUI Hh ldll. I Figure 1-11. Right-clicking on the development storage icon to shut down the development fabric 14 CHAPTER 1 CREATE CLOUD TABLE STORAGE This exercise demonstrates the basic steps to create a cloud data storage table using Windows Azure SDK development storage table service. In principle the approach is fairly straightforward. However in practice since storage usage in a cloud environment is quite different from that in the regular onpremises environment we should follow some rules and best practices. Using Portable Data Types for Data Columns Essentially the data type of a data column should be portable to a SQL data type or be able to be understood as a system-defined basic data type. Using Data Tables Generated by Windows Azure Development Tool Use the Azure development tool provided by the Azure development SDK to invoke the development storage service from Visual Studio to generate the data storage database and data tables. The development tool analyzes the data objects of all projects across the cloud application solution to generate