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...