TAILIEUCHUNG - Introducing Windows Azure- P14

Introducing Windows Azure- P14: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 2 ACCESS CLOUD TABLE STORAGE using using using using namespace CloudTableStorageService WebRole using CloudTableStorageService using CloudTableStorageService using CloudTableStorageService public partial class WebForml private AddressTableService addressTableService null protected void Page Load object sender EventArgs e if addressTableService new AddressTableService else DataBinding protected void btnAddAddress Click object sender EventArgs e if DataBinding private void DataBinding 10. Set the CloudTableStorageService project as the startup project by rightclicking on the project node in Solution Explorer start the service from Visual Studio by pressing F5 with debugging or Ctrl F5 without debugging . Visual Studio will start the table storage service and launch the page in the default browser as Figure 2-4 shows. 38 CHAPTER 2 ACCESS CLOUD TABLE STORAGE 11. Before we start testing what we have achieved so far I strongly recommend you do one more thing. The cloud storage table needs to be created in cloud storage either locally during development or remotely after being deployed at the time of the first data access request. To improve performance and avoid creating the table multiple times insert a piece of code into the static function ApplicationStartUponFirstRequest in as shown in Listing 2-10. Listing 2-10. Call to Create Cloud Storage Table at the Time of Application Starting private static void ApplicationStartUponFirstRequest HttpContext context StorageAccountInfo account typeof AddressTableContext account Now it is time to insert and query data from cloud table

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.