Book Image

Microsoft Azure Development Cookbook Second Edition

Book Image

Microsoft Azure Development Cookbook Second Edition

Overview of this book

Table of Contents (15 chapters)
Microsoft Azure Development Cookbook Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Managing the Storage service


The Azure Management Libraries are a composable set of libraries under a common top-level namespace. Along with this, Microsoft shipped a single sublibrary for each of the services of the entire Azure surface, enforcing separation of concerns, in order to maintain them independently.

We will see for the first time that the CloudContext factory is instantiating the management clients. This factory is smartly created with extension methods lying in each satellite library. At the time of writing this book, this makes visible for the Management clients only those factory methods that are physically referenced by the project.

From the beginning of Azure, a storage account is a container of three services: Blob, Tables, and Queues. Recently, Azure Files have been introduced, so we can inspect these endpoints with the StorageAccount.Properties.Endpoints collection, expecting three (or four) public URIs as results. Since, in the last years, Microsoft introduced new options...