Giter Site home page Giter Site logo

azure_storage_c_sdk_lite's Introduction

azure_storage_c_sdk_lite

The azure_storage_c_sdk_lite is a lite version of azure storage sdk in C language, allows you to build applications against Microsoft Azure Blob Storage. This sdk can be used in the embedded equipment for azure storage operation.

About how to set up

  1. clone the project using Git:
    git clone --recursive https://github.com/MS-CSE-GCR/azure_storage_c_sdk_lite.git
  1. install the libraries following:
    install cmake:
    sudo apt install cmake

    install curl:
    sudo apt-get install libcurl4-openssl-dev

    install GnuTLS:
    sudo apt-get install libgnutls28-dev

    install gcrypt:
    sudo apt-get install libgcrypt11-dev

    install fuse:
    sudo apt-get install libfuse-dev

    install openssl:
    sudo apt-get install libssl-dev
  1. build the SDK in release type:
    cd Storage_blob_sdk_c_light
    mkdir build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    make
  1. run the sample code

You will have two ways to do the credentials. One of it is "shared credentials" which will need the "account name" and the "account key", the other way is "shared access signature" which will need a sas token to do the credential. You need to input the information in the sample.cpp before run it.

    Copy the libazure-storage.so to the /usr/lib

    Check the file size:
    du -sh libazure-storage.so

    run the sample code:
    cd sample 
    make
    ./run 

Reference

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.