Windows Azure SDK for Windows 8 and .NET 4(22.214.171.124)
This SDK allows you to build Windows Azure applications that take advantage of Azure scalable cloud computing resources: table and blob storage, messaging through Service Bus, distributed caching through cache.
For documentation please see the Windows Azure .NET Developer Center.
- Create/Delete Tables
- Query/Create/Read/Update/Delete Entities
- Create/Read/Update/Delete BLOBs
- Create/Delete Queues
- Insert/Peek Queue Messages
- Advanced Queue Operations
Option 1: Via Git
To get the source code of the SDK via git just type:
git clone git://github.com/WindowsAzure/azure-sdk-for-net.git
Option 2: Via NuGet
To get the binaries of this library as distributed by Microsoft, ready for use within your project you can also have them installed by the .NET package manager NuGet.
- Account: To use this SDK to call Windows Azure services, you need to first create an account.
- Hosting: To host your .Net code in Windows Azure, you additionally need to download the full Windows Azure SDK for .NET - which includes packaging, emulation, and deployment tools.
- Windows 8 or .NET Framework 4.0
The 126.96.36.199 version depends on three libraries (collectively referred to as ODataLib), which are resolved through the ODataLib (version 5.0.2) packages available through NuGet and not the WCF Data Services installer which currently contains 5.0.0 versions. The ODataLib libraries can be downloaded directly or referenced by your code project through NuGet. The specific ODataLib packages are:
- All code samples are available under the
- How-Tos focused around accomplishing specific tasks are available on the Windows Azure .NET Developer Center.
First, include the classes you need (in this case we'll include the StorageClient and further demonstrate creating a table):
using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.StorageClient;
To perform an operation on any Windows Azure resource you will first instantiate a client which allows performing actions on it. The resource is known as an entity. To do so for Table you also have to authenticate your request:
var storageAccount = CloudStorageAccount.FromConfigurationSetting("StorageConnectionString"); var tableClient = storageAccount.CreateCloudTableClient();
Now, to create a table entity using the client:
CloudTable peopleTable = tableClient.GetTableReference("people"); peopleTable.Create();
Be sure to check out the Windows Azure Developer Forums on MSDN if you have trouble with the provided code.
For feedback related specificically to this SDK, please use the Issues section of the repository.
For general suggestions about Windows Azure please use our UserVoice forum.