Lập trình .net 4.0 và visual studio 2010 part 63

Trước khi triển khai ứng dụng của bạn, hãy kiểm tra xem bạn đã thiết lập lại các tính dụ trong tập tin. Cscfg của ứng dụng Azure Hello 5-1, như là tùy thuộc vào giá kế hoạch của bạn, nếu không, bạn có thể nhận được một lỗi khi bạn tải lên các ứng dụng của bạn | CHAPTER 16 WINDOWS AZURE Deployment To deploy your application to the cloud you will need a Windows Azure account. If you do not have one yet what are you waiting for Go and sign up for one now at http windowsazure account . Deploying Hello Azure Application Before you deploy your application check whether you have reset the instance count in the .cscfg file of the Hello Azure application from five to one as depending on your price plan otherwise you may receive an error when you upload your application. OK let s deploy the project we created earlier by right-clicking on the HelloAzure project and selecting Publish. Visual Studio will build the application open the publish directory folder in Windows Explorer and send you to the Windows Azure platform login page. The Windows Azure Portal allows you to deploy configure and manage your applications. Once you have logged into the services portal and you should see a screen similar to Figure 16-9 Figure 16-9. Azure Services Portal 422 CHAPTER 16 WINDOWS AZURE This page lists all the projects associated with this user. If you haven t created a project yet click the adding services to the project link. In the previous example I have a project called PDC08CTP click this and you will then be taken to the project services screen Figure 16-10 . Here if you haven t already click the New Service link and add a new hosted service in the screen shot mine is called Introducing VS2010 . Then click on it. Figure 16-10. Project services screen You should then be taken to a screen that shows the current status of your Azure roles Figure 16-11 . 423 CHAPTER 16 WINDOWS AZURE Figure 16-11. Inactive web role Notice at the moment this screen shows only the production instance see the following section for how to upload to staging instance . We want to upload our application to Windows Azure so click the Deploy button beneath the staging cube and you will be taken to the Staging Deployment screen. We now need to upload .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
157    190    9    27-04-2024
11    68    2    27-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.