In this recipe, we will use Windows Azure Table storage to retrieve data from a NoSQL database in Azure.
To communicate with Azure storage, we have to:
- Install Azure SDK for .NET
- Create an Azure Storage account
- Install two NuGet packages:
WindowsAzure.ConfigurationManager
andWindowsAzure.Storage
After doing that, we will be able to use all the services in Azure storage: blobs, files, queues, and tables.
As in the previous recipe (Data access with MongoDb), we'll dive right into coding:
- First, we open
Server Explorer
in Visual Studio to consult the Azure services available for our Azure subscription:
- Next, let's install Azure SDK for .NET:
- Save and run this file:
This will open the Microsoft Platform Installer and download the Azure SDK for .NET:
Here are all the installed libraries and components with Azure SDK:
We can see a lot more items in the Azure menu.
- Now we will use our Azure subscription to create an Azure storage...