explaingit

azure/azure-sdk-for-net

5,984C#Audience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

The official Microsoft SDK for .NET developers to connect their C# applications to Azure cloud services, covering storage, databases, AI, authentication, and hundreds of other Azure features without writing low-level HTTP code.

Mindmap

mindmap
  root((Azure SDK for .NET))
    What it does
      Connect to Azure
      Client libraries
      Management libraries
    Azure services
      Blob Storage
      Cosmos DB
      AI services
      Authentication
    Setup
      NuGet packages
      Azure subscription
      Per-service folder
    Features
      Source Link debug
      Consistent API design
      Telemetry opt-out
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Upload and download files to Azure Blob Storage from a C# application

USE CASE 2

Query Azure Cosmos DB from a .NET backend without writing raw HTTP calls

USE CASE 3

Add Azure authentication and managed identity support to an ASP.NET Core app

USE CASE 4

Provision and configure Azure cloud resources from code using the management libraries

Tech stack

C#.NETNuGetAzureF#

Getting it running

Difficulty · moderate Time to first run · 30min

Requires an active Azure subscription and service credentials, SDK telemetry is sent to Microsoft by default and must be explicitly disabled.

Use freely for any purpose, including commercial use, as long as you keep the MIT license notice.

In plain English

This repository contains the official Microsoft SDK for .NET developers who want to connect their applications to Azure cloud services. Azure is Microsoft's cloud platform, and this SDK gives .NET developers pre-built code packages for working with Azure storage, databases, AI services, authentication, networking, and hundreds of other Azure features, without having to write all the low-level connection code themselves. The packages are split into two broad categories. Client libraries are for interacting with a running Azure service, for example uploading a file to Azure Blob Storage or querying Azure Cosmos DB. Management libraries are for provisioning and configuring Azure resources themselves, the equivalent of clicking around in the Azure portal but done from code. Both categories have newer and older versions available, the newer versions follow a consistent design pattern that makes them behave similarly across different services. Each Azure service has its own folder inside the /sdk directory of this repository, and each folder has its own README with specific getting-started instructions for that service. The top-level README here mostly serves as a directory pointing you to the right place. The SDK collects usage telemetry by default and sends it to Microsoft. The README explains how to turn this off, either per-client in code or globally through an environment variable. This is a developer tool, not an end-user application. If you are a .NET developer building something on top of Azure services, these libraries save you from writing raw HTTP calls and handling authentication yourself. If you are not writing .NET code, this repository is not something you would use directly. Support is available through GitHub issues and Stack Overflow.

Copy-paste prompts

Prompt 1
Show me how to upload a file to Azure Blob Storage from a C# console app using the Azure SDK for .NET
Prompt 2
How do I authenticate to Azure services using DefaultAzureCredential in an ASP.NET Core application?
Prompt 3
Write a .NET example that queries Azure Cosmos DB for all documents in a container where a specific field equals a given value
Prompt 4
How do I use the Azure SDK for .NET management libraries to create a new Storage Account from code?
Prompt 5
Show me how to disable the telemetry that the Azure SDK for .NET sends to Microsoft by default in my application
Open on GitHub → Explain another repo

← azure on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.