Giter Site home page Giter Site logo

mteper / azure-sdk-for-net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure/azure-sdk-for-net

0.0 2.0 0.0 2.98 MB

Windows Azure SDK for .NET

Home Page: http://www.windowsazure.com/en-us/develop/net/

License: Apache License 2.0

C# 100.00%

azure-sdk-for-net's Introduction

Windows Azure SDK for Windows 8 and .NET 4 (2.0.2)

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

        Dependencies

        The 2.0.2 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:
        http://nuget.org/packages/Microsoft.Data.OData/5.0.2
        http://nuget.org/packages/Microsoft.Data.Edm/5.0.2
        http://nuget.org/packages/System.Spatial/5.0.2

        Code Samples

        Note:

        First, include the classes you need (in this case we'll include the Storage and Table and further demonstrate creating a table):

        using Microsoft.WindowsAzure.Storage;
        using Microsoft.WindowsAzure.Storage.Table;

        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.DevelopmentStorageAccount;
        var tableClient = storageAccount.CreateCloudTableClient();

        Now, to create a table entity using the client:

        CloudTable peopleTable = tableClient.GetTableReference("people");
        peopleTable.Create();
        

        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

azure-sdk-for-net's People

Contributors

deepakverma avatar jeffreyjirwin avatar jeffwilcox avatar joostdenijs avatar justinyu avatar mteper avatar ogail avatar piyushjo avatar tjanczuk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.