Skip to Content
Introducing .NET 4.0: with Visual Studio 2010
book

Introducing .NET 4.0: with Visual Studio 2010

by Alex Mackey
February 2010
Beginner content levelBeginner
400 pages
11h 13m
English
Apress
Content preview from Introducing .NET 4.0: with Visual Studio 2010

16.10. Accessing the REST API Directly

Now that you have worked with the StorageClient, I think it is useful to understand what is happening behind the scenes. In the previous example, you created a container to store your images, called pictures. You will now create an application to list all the containers in your local Azure storage by constructing the raw HTTP request.

16.10.1. How Do You Work with the REST API?

To interface with the Azure storage REST API, you will construct a request using the WebRequest classes. You need to do the following:

  1. Make an HTTP request to a URL and port. The following URL, for example, is used to retrieve a list of containers held in Azure storage:

    http://127.0.0.1:10000/devstoreaccount1/devstoreaccount1?comp=list ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ASP.NET 3.5 For Dummies®

ASP.NET 3.5 For Dummies®

Ken Cox
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek

Publisher Resources

ISBN: 9781430224556Purchase book