Skip to content

asalvo/azure-sdk-for-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Windows Azure SDK for .NET (1.7.0.0)

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.

Features

  • Tables
    • Create/Delete Tables
    • Query/Create/Read/Update/Delete Entities
    • BLOBs
      • Create/Read/Update/Delete BLOBs
      • Queues
        • Create/Delete Queues
        • Insert/Peek Queue Messages
        • Advanced Queue Operations

        Getting Started

        Download

        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
        cd ./azure-sdk-for-net

        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.

        Install-Package WindowsAzure.Storage

        Requirements

        • Account: To use this SDK to call Windows Azure services, you need to first create an account.
        • Hosting: To host your Java code in Windows Azure, you additionally need to download the full Windows Azure SDK for .NET - which includes packaging, emulation, and deployment tools.
        • .NET Framework 3.5 or higher

        Code Samples

        Note:

        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:

        tableClient.CreateTable("People");

        Need Help?

        Be sure to check out the Windows Azure Developer Forums on MSDN if you have trouble with the provided code.

        Feedback

        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.

        Learn More

Packages

No packages published

Languages

  • C# 100.0%