Using the queue storage from .NET
The Azure Storage Client Library for .NET has all the classes and methods needed to work with queues programmatically. After creating a storage account, and getting the appropriate access keys (both discussed in earlier chapters), we now have everything it takes to utilize the storage service using the .NET framework.
For the simplicity of our code samples, we will be using a C# Console Application template. To create an empty console application open Visual Studio and navigate to New Project | Templates | Visual C# | Console Application.
By default, the application will not include the storage client library, so we need to add it using the package manager by typing Install-Package WindowsAzure.Storage
. This will download and install the library along with all dependencies required.
Note
You can navigate through the library by expanding References in Solution Explorer in Visual Studio and right-click Microsoft.WindowsAzure.Storage and selecting View in Object...