tailieunhanh - Introducing Windows Azure- P61

Introducing Windows Azure- P61: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 9 DEPLOY APPLICATIONS AND PRODUCTION MAINTENANCE Figure 9-1. Generate the application package and configuration package from Visual Studio The packages will be generated by Visual Studio and a new folder called Publish will be created to hold the package files. The path of the folder is under the project node of the specific compiler setting. For example if the compiler setting is Debug the folder is located under the Debug folder as Figure 9-2 shows. File Edit View Tools Help Organize Views I Burn po jers v Name __ Date modifiec I I l J j2 28 2009 8 J 3 6 2009 2 3 HostWCFSrvicelnCloud I J .svn bin Debug ._ JHosiWCFSrvicelnCloud. csx Publish bj q ShoppingCartServiceLibrary xj ShoppingCartServiceTestClient q ShoppingCartWorkflows Figure 9-2. The generated package can be found in the folder Publish under the project tree in Windows Explorer 298 CHAPTER 9 DEPLOY APPLICATIONS AND PRODUCTION MAINTENANCE Deploying Table Storage We are going to use the table storage we created in Exercise 2-2 as an example to illustrate how to deploy table storage to the cloud. 1. From Internet Explorer enter the Azure portal address and sign in with your Live ID. Select New Project Storage Account as Figure 9-3 shows. Figure 9-3. Create a new storage account from the Azure portal page 299 CHAPTER 9 DEPLOY APPLICATIONS AND PRODUCTION MAINTENANCE 2. Check the availability of the account as Figure 9-4 shows. The name must be in lowercase. Figure 9-4. Create a new storage account from Azure portal page .