Azure Libraries for .NET

Use the libraries in the .NET SDK for Azure to manage and consume Azure services in your applications.

Packages

Tip

Fluent libraries (ending in *.Fluent) improve the developer experience by providing a higher-level, object-oriented API optimized for readability and writability. They clarify what is required vs. optional vs. non-modifiable. These libraries can run side-by-side with non-fluent libraries, so use the fluent packages if you prefer that syntax. Microsoft.Azure.Management.Fluent is a rollup package that contains all of the fluent management libraries.

Service Interact with the service Manage service resources
Analysis Services Microsoft.Azure.Management.Analysis
ApiManagement Microsoft.Azure.Management.ApiManagement
Authorization Microsoft.Azure.Management.Authorization
Automation Microsoft.Azure.Management.Automation
Azure Active Directory Microsoft.IdentityModel.Clients.ActiveDirectory
Backup Microsoft.Azure.Management.RecoveryServices.Backup
Batch Azure.Batch Microsoft.Azure.Management.Batch.Fluent
Microsoft.Azure.Management.Batch
Billing Microsoft.Azure.Management.Billing
CDN Microsoft.Azure.Management.Cdn.Fluent
Microsoft.Azure.Management.Cdn
Cognitive Services Microsoft.Azure.Management.CognitiveServices
Commerce Microsoft.Azure.Commerce.UsageAggregates
Container Registry Microsoft.Azure.Management.ContainerRegistry
Customer Insights Microsoft.Azure.Management.CustomerInsights
Data Factory Microsoft.Azure.Management.DataFactories
Data Lake Analytics Microsoft.Azure.Management.DataLake.Analytics Microsoft.Azure.Management.DataLake.Analytics
Data Lake Store Microsoft.Azure.Management.DataLake.Store Microsoft.Azure.Management.DataLake.Store
Microsoft.Azure.Management.DataLake.StoreUploader
DevTest Labs Microsoft.Azure.Management.DevTestLabs
DNS Microsoft.Azure.Management.Dns.Fluent
Microsoft.Azure.Management.Dns
DocumentDB Microsoft.Azure.DocumentDB.Core
Event Hubs Microsoft.Azure.EventHubs
Microsoft.Azure.EventHubs.Processor
Graph Microsoft.Azure.Graph.RBAC
HD Insight Microsoft.Azure.Management.HDInsight.Job Microsoft.Azure.Management.HDInsight
IoT Hub Microsoft.Azure.Devices *
Microsoft.Azure.Devices.Client *
Key Vault Microsoft.Azure.KeyVault Microsoft.Azure.Management.KeyVault.Fluent
Microsoft.Azure.Management.KeyVault
Log Analytics Microsoft.Azure.Management.OperationalInsights
Logic Apps Microsoft.Azure.Management.Logic
MachineLearning Microsoft.Azure.Management.MachineLearning
Media Services windowsazure.mediaservices.extensions * Microsoft.Azure.Management.Media
Monitor Microsoft.Azure.Insights
Notification Hubs Microsoft.Azure.NotificationHubs *
WindowsAzure.Messaging.Managed *
Microsoft.Azure.Management.NotificationHubs
PowerBI Embedded Microsoft.Azure.Management.PowerBIEmbedded
Recovery Services Microsoft.Azure.Management.RecoveryServices
Redis Cache StackExchange.Redis Microsoft.Azure.Management.Redis.Fluent
Microsoft.Azure.Management.Redis
Resource Manager Microsoft.Azure.Management.ResourceManager.Fluent
Microsoft.Azure.Management.ResourceManager
Scheduler Microsoft.Azure.Management.Scheduler
Search Microsoft.Azure.Search * Microsoft.Azure.Management.Search
Service Bus WindowsAzure.ServiceBus * Microsoft.Azure.Management.ServiceBus
Service Bus Relay Microsoft.Azure.Relay
Service Fabric Microsoft.ServiceFabric *
SQL Database System.Data.SqlClient Microsoft.Azure.Management.Sql.Fluent
Microsoft.Azure.Management.Sql
Storage WindowsAzure.Storage Microsoft.Azure.Management.Storage.Fluent
Microsoft.Azure.Management.Storage
Microsoft.Azure.Storage.DataMovement
Stream Analytics Microsoft.Azure.Management.StreamAnalytics
Traffic Manager Microsoft.Azure.Management.TrafficManager.Fluent
Microsoft.Azure.Management.TrafficManager
Virtual Machines Microsoft.Azure.Management.Compute.Fluent
Microsoft.Azure.Management.Compute
Virtual Network Microsoft.Azure.Management.Network.Fluent
Microsoft.Azure.Management.Network
Web Apps Microsoft.Azure.Management.AppService.Fluent
Microsoft.Azure.Management.Websites

* - Denotes package is currently incompatible with .NET Core.

Installation

Visual Studio

If you're using Visual Studio, use the NuGet Package Manager Console to import the package into your project.

  1. With your Visual Studio solution open, launch the console by clicking Tools, followed by NuGet Packager Manager, and then click Package Manager Console.

    Package Manager Console

  2. In the console window, use the Install-Package cmdlet to download and install the NuGet package. For example, to include the latest version of the Azure Resource Management Library for .NET:

     Install-Package Microsoft.Azure.Management.ResourceManager -Pre 
    

    To use a specific version, include the version number like this:

     Install-Package Microsoft.Azure.Management.ResourceMananger -Version 1.4.0-preview
    

Other editors

If you're using .NET Core with Visual Studio Code (or any other editor), edit your csproj file to add the package as a PackageReference element. This example uses a specific version of Microsoft.Azure.Management.ResourceManager, which is the best practice, but NuGet floating versions are also supported.

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp1.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Azure.Management.ResourceManager" Version="1.4.0-preview" />
  </ItemGroup>

</Project>
Tip

Previous versions of .NET Core used project.json files instead of csproj. To learn about mapping project.json to csproj, see this document.