Azure Services Platform Step by step 10 use BLOB storage to build Simple network hard disks

Source: Internet
Author: User
Tags abstract

In the previous article, we have described the use of BLOB storage and its status in Windows Azure storage. Now let's demonstrate how to bring the blob storage into our lives with the simplest code.

The final effect is as follows: (demo http://ibm.cloudapp.net/DriveC.aspx deployed to the cloud)

While Windows Azure storage all provide rest programming interfaces, you don't want to deal with tedious httpwebrequest in real programming? Microsoft has done a very thoughtful job of encapsulating all the rest programming interfaces of Windows Azure storage into the C # class, all of which are contained within. When we actually develop, we just need to reference the project or the DLL it compiles, and we can say goodbye to the bare rest and use those very handy classes and methods!

The structure of the project is shown below.

This project defines three abstract classes of Windows Azure storage services, such as BlobStorage.cs, and defines classes that encapsulate the rest implementation methods, such as RestBlobStorage.cs, that coincide with the abstract class. Restblobstorage is the Star class that will be used in this article.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.