Microsoft Azure SDK for .NET
C# Gherkin PowerShell JavaScript Batchfile CSS
Switch branches/tags
v2.1.0.4 v2.1.0.2-Oct2013 v1.7-June2012 v1.6-November2011 v1.0.2 v1.0.0 v0.9.7-common-preview v0.9.5-management-preview v0.9.2-management-preview v0.9-management-preview preview 2015-01-06T11-46 2015-01-06T10-14 2014-12-19T16-31 2014-12-19T09-36 2014-12-16T09-55 2014-12-10T17-49 2014-12-03T16-48 2014-12-03T15-48 2014-12-03T12-24 2014-11-25T09-37 2014-11-25T09-21 2014-11-13T13-20 2014-11-11T14-51 2014-11-04T22-37 2014-11-03T14-26 2014-10-31T16-56 2014-10-31T08-58 2014-10-29T15-09 2014-10-27T17-44 2014-10-24T09-55 2014-10-23T13-09 2014-10-22T12-40 2014-10-21T16-13 2014-10-21T15-58 2014-10-21T15-25 2014-10-20T10-56 2014-10-16T14-31 2014-10-15T12-24 2014-10-13T11-37 2014-10-10T16-17 2014-10-08T16-58 2014-10-07T18-28 2014-10-07T14-34 2014-10-06T10-45 2014-10-02T12-19 2014-09-26T13-36 2014-09-19T18-32 2014-09-16T03-34 2014-09-15T12-02 2014-09-10T15-33 2014-09-10T10-41 2014-09-09T16-01 2014-09-04T10-25 2014-08-29T09-48 2014-08-28T13-28 2014-08-26T15-04 2014-08-22T14-38 2014-08-20T13-22 2014-08-19T14-17 2014-08-13T10-11 2014-08-12T15-37 2014-08-12T13-17 2014-08-11T15-12 2014-08-11T09-31 2014-08-07T18-37 2014-08-06T14-03 2014-08-05T17-05 2014-08-05T14-22 2014-08-05T12-59 2014-08-05T11-40 2014-08-04T11-35 2014-07-31T18-47 2014-07-25T12-19 2014-07-23T13-58 2014-07-12T10-20 2014-07-10T13-23 2014-07-09T16-50 2014-07-08T16-19 2014-07-08T11-48 2014-07-03T16-04 2014-07-02T15-40 2014-07-01T16-34 2014-06-27T17-38 2014-06-24T18-02 2014-06-19T23-28 2014-06-18T16-20 2014-06-16T12-23 2014-06-12T14-11 2014-06-11T10-17 2014-06-09T14-22 2014-06-09T13-32 2014-06-06T10-59 2014-06-03T22-20 2014-05-28T07-57 2014-05-22T11-06 2014-05-07T18-15 2014-05-07T13-07 2014-05-07T11-42 2014-05-06T17-05
Nothing to show
Pull request Compare This branch is 2761 commits behind Azure:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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


* Visual Studio 2013 RTM with update 2 at minimum

To build:

Using Visual Studio:

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

Using the command line:

  • Ensure "msbuild.exe" is under environment pathes, which you can run the command file pre-installed by Visual Studio. C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat
  • Under repository root, there is a "build.proj", which you can build with. 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".

To run the tests:

Using Visual Studio:

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

Using the command line:

  • Refer to the "To build" section to get the command window set up.
  • Invoke "Test" target from "Build.proj". Likely, you need to build test project first, so put in "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. Do not 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).