TAILIEUCHUNG - Apress Introducing Dot Net 4 With Visual Studio_9

Giới thiệu NET . Tinh lựa chọn của họ và cung cấp cho họ với một lộ trình cho các phiên bản mới. Rõ ràng bản đồ toàn bộ phạm vi thay đổi, hiển thị những gì mới, những gì đã thay đổi và những gì đã ở lại cùng. Điều quan trọng, nó cung cấp rõ ràng ví dụ về thực hành tốt nhất và cho thấy làm thế nào công nghệ có thể được đưa vào làm việc. | CHAPTER 16 WINDOWS AZURE ConfigurationSettings Setting name DiagnosticsConnectionString Setting name Message ConfigurationSettings WebRole ServiceDefinition 4. We will now define the actual value of this setting so open and add a new setting inside the ConfigurationSettings element Setting name Message value Hello Azure 5. While we are working with find the element that reads Instances count 1 and change it to Instances count 5 6. Changing the instances count tells Azure to create five instances of our application and simulates scaling our application to use five Azure nodes you will need to set this back before deployment depending on your pricing structure . This setting can be easily amended online note how easy it is to quickly scale up your application depending on demand. Microsoft recently announced Azure supports an API that allows you to do this programmatically. Your ServiceDefinition .cscfg should now look like xml version ServiceConfiguration serviceName xmlns http ServiceHosting 2008 10 ServiceConfiguration Role name Instances count 5 ConfigurationSettings Setting name DiagnosticsConnectionString value UseDevelopmentStorage true Setting name Message value Hello Azure ConfigurationSettings Role ServiceConfiguration Open and enter the following code using protected void Page_Load object sender EventArgs e string GreetingString message GreetingString at 7. Press F5 to run the application and you should see the greeting value we defined output to the screen with the current time and date. 417 CHAPTER 16 WINDOWS AZURE Logging and Debugging When running your Azure applications locally you can make full use of standard Visual Studio debugging facilities. However when applications are deployed to the cloud debugging

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.