TAILIEUCHUNG - Introducing Windows Azure- P28

Introducing Windows Azure- P28: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 3 WORKING WITH CLOUD QUEUE AND BLOB STORAGE string blobName try BlobProperties properties new BlobProperties blobName NameValueCollection metadata new NameValueCollection metadata byte BlobContents blobContents new BlobContents new MemoryStream _command new DeleteBlobStatus blobContents properties true _command catch Exception ex Listing 3-23. Set Flag from QueuedBackgroundWorker to Interrupt Create or Delete Blob Actions private void btnCancel Click object sender EventArgs e false true true false Actiong aborted. Note To run this application from the local development environment the development storage service and development fabric must be started first. The following screenshots are the test results of Exercise 3-4. 108 CHAPTER 3 WORKING WITH CLOUD QUEUE AND BLOB STORAGE First we upload a large amount of data to blob storage. The results are shown in Figures 3-13 and 3-14. Figure 3-13. File of size 278 MB created and uploaded to blob taking seconds in the local development environment with the system configuration shown in Figure 3-14 Figure 3-14. System conf iguration to run Exercise 3-4 We can also upload a small amount of data to blob storage. 109 CHAPTER 3 WORKING WITH CLOUD QUEUE AND BLOB STORAGE This tool of course can also be used to transmit any size of data between local systems and cloud blob storage. Figure 3-15 shows an example using this tool to upload a small file to a blob storage table. Note that the file name created by the tool in this case has no suffix. Figure 3-15. Creating a small blob Since the job is done from a queued worker thread running in

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.