Welcome to the official documentation for the Azure SDK for .NET. This SDK provides a comprehensive set of libraries to help you build, deploy, and manage applications on Microsoft Azure using your favorite .NET languages.
Our SDKs are designed with developer productivity in mind, offering idiomatic experiences, robust error handling, and seamless integration with Azure services.
Explore the sections below to get started with the specific Azure services you want to integrate with.
To begin using the Azure SDK for .NET, you'll need to install the necessary NuGet packages. You can typically install the core SDK and specific service packages using the .NET CLI or the NuGet Package Manager in Visual Studio.
dotnet add package Azure.Identity
dotnet add package Azure.Storage.Blobs
dotnet add package Azure.ResourceManager
Authentication is a critical part of interacting with Azure services. The Azure Identity library provides a unified way to authenticate your applications using various methods like managed identities, service principals, and development credentials.
using Azure.Identity;
using Azure.Storage.Blobs;
// Authenticate using Azure Identity
TokenCredential credential = new DefaultAzureCredential();
// Create a BlobServiceClient
string blobStorageConnectionString = "YOUR_STORAGE_ACCOUNT_CONNECTION_STRING"; // Or use credential for Azure AD auth
BlobServiceClient blobServiceClient = new BlobServiceClient(blobStorageConnectionString);
// Or using Azure AD:
// BlobServiceClient blobServiceClient = new BlobServiceClient(new Uri("https://yourstorageaccount.blob.core.windows.net"), credential);
These libraries provide foundational capabilities for interacting with Azure:
Discover the SDKs for individual Azure services. Click on a service to view its specific documentation and API reference.
Message queuing for reliable application communication.
API ReferenceGlobally distributed, multi-model database.
API ReferenceSecurely store and access secrets, keys, and certificates.
API ReferenceManaged identities for Azure resources.
API ReferenceBig data streaming platform and event ingestion service.
API ReferenceImage analysis and computer vision capabilities.
API ReferenceNatural Language Processing (NLP) capabilities.
API ReferenceManage virtual networks and connectivity.
API ReferenceFind the full list of Azure SDK for .NET libraries on GitHub.
Browse the detailed API documentation for all Azure SDK for .NET libraries on Microsoft Learn.
Get hands-on experience with our extensive collection of code samples and tutorials: