Code Monkey home page Code Monkey logo

azure-sdk-for-net's Introduction

Microsoft Azure SDK for .NET

The Microsoft Azure SDK for .NET allows you to build applications that take advantage of scalable cloud computing resources.

Target frameworks

  • .NET Framework 4.0 and newer.
  • .NET Portable Framework, using profile 102

Prerequisites

  • Visual Studio 2013 RTM Update 2 (at minimum)

Building

Using Visual Studio

  • Open any solution, say, src\ResourceManagement\Compute\Compute.sln.
  • Invoke the "build" command.
  • Most solutions support 3 solution configurations, "Net40", "Net45", and "Portable". You can use "Configuration Manager" to switch and build.

Using the command line

  • Use VsDevCmd to Ensure "msbuild.exe" is in your path (replace "12.0" with your version): C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat
  • You can build with build.proj. For example, to build a nuget package for compute management, run: msbuild build.proj /t:build;package /p:scope=ResourceManagement\Compute
  • For other supported flags, check out the top comment section inside build.proj.

Tests

Using Visual Studio

  • Most test projects only build for "net45". To run them, switch solution configuration to "net45".
  • Build.
  • "Test Explorer" window will be populated with tests. Go select and invoke.

Using the command line

  • Refer to the building section to get the command window set up.
  • Invoke the "Test" target from build.proj. It's likely you'll need to build the test project first, so add the "build" target as well: msbuild build.proj /t:build;test /p:scope=ResourceManagement\Compute

Issues with generated code

Much of the SDK code is generated from metadata specs about the REST APIs. Don't submit PRs that modify generated code. Instead, file an issue describing the problem, or refer to the the AutoRest project to view and modify the generator.

Note: the generated code in the master branch is from a private project. The SDK is migrating to use AutoRest with generated code described by Swagger. Not all of the generator code is public yet, but it will be over the next few weeks. (July 2015).

azure-sdk-for-net's People

Contributors

adittulasi avatar ailn avatar bgold09 avatar brjohnstmsft avatar chfunk avatar davmc avatar deepakswifty avatar dihan0604 avatar gucalder avatar huangpf avatar jackmagic313 avatar jagadisk avatar jeffwilcox avatar jianghaolu avatar kagamsft avatar markcowl avatar mkherani avatar nemanja88 avatar ogail avatar panbha avatar pikumarmsft avatar pragrawa avatar safeermohammed avatar shefaliv avatar solankisamir avatar stankovski avatar sudhakar4171 avatar swatimadhukargit avatar vivsriaus avatar yugangw-msft avatar

Watchers

 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.