# azure/azure-sdk-for-net

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/azure-azure-sdk-for-net).**

5,937 stars · 5,118 forks · C# · mit

## Links

- GitHub: https://github.com/Azure/azure-sdk-for-net
- awesome-repositories: https://awesome-repositories.com/repository/azure-azure-sdk-for-net.md

## Topics

`azure` `azure-sdk` `c-sharp` `dotnet` `hacktoberfest` `microsoft`

## Description

The Azure SDK for .NET is a collection of client and management libraries that enable .NET applications to interact with cloud services through a consistent, well-defined programming model. It provides a unified interface for authenticating, configuring HTTP pipelines, and calling service methods either synchronously or asynchronously, with support for pagination, long-running operations, and structured error handling.

The SDK distinguishes itself through comprehensive authentication options, including connection strings, OAuth token credentials, managed identity, service principals, and developer credentials for local testing. It offers robust testing support through mockable service clients, subclients, long-running operations, and model graphs, all enabled by protected constructors and virtual methods. The SDK also provides configurable HTTP pipeline policies, automatic retry of failed requests with customizable delay and count rules, and proxy routing supporting multiple authentication schemes.

Beyond core service interaction, the SDK covers application hosting, data storage and synchronization, messaging and notifications, monitoring and observability, and automation through serverless event-driven workflows. It includes capabilities for provisioning and managing cloud infrastructure, deploying virtual networks, and hosting applications on managed services with built-in scalability and high availability. The SDK also supports building AI-powered applications that integrate generative AI and large language models for chat, image generation, and agent orchestration.

The libraries are distributed as NuGet packages targeting .NET Standard 2.0, with each package documented through C# XML comments and accompanied by README files and ordered code samples.

## Tags

### DevOps & Infrastructure

- [Cloud SDK Client Libraries](https://awesome-repositories.com/f/devops-infrastructure/cloud-sdk-client-libraries.md) — Install NuGet packages and call client methods to interact with any Azure service from .NET Core or .NET Framework applications. ([source](https://docs.microsoft.com/dotnet/azure/intro))
- [Request Retries](https://awesome-repositories.com/f/devops-infrastructure/api-service-management/api-resilience/request-retries.md) — Automatically retry a network request when a transient failure occurs, using configurable delay, count, and status-code rules. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))
- [Azure Resource Management](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/infrastructure-provisioning-management/azure-resource-management.md) — Use management libraries to create, configure, and control cloud infrastructure and services. ([source](https://azure.github.io/azure-sdk-for-net))
- [Cloud Service Integrations](https://awesome-repositories.com/f/devops-infrastructure/cloud-service-integrations.md) — Use a consistent client-object pattern to call cloud services for tasks like file storage, secret retrieval, and event processing. ([source](https://docs.microsoft.com/dotnet/azure/sdk/azure-sdk-for-dotnet))
- [Environment Variable Configuration](https://awesome-repositories.com/f/devops-infrastructure/configuration-management/environment-management/environment-variable-management/environment-variable-configurations/environment-variable-configuration.md) — Load configuration for proxies, identity, pipeline behavior, and SDK settings from well-known environment variables. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))
- [Cloud Infrastructure Management](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/private-enterprise-management/cloud-infrastructure-management.md) — Use management libraries with shared core capabilities like identity, error-handling, and distributed tracing for provisioning and controlling cloud infrastructure. ([source](https://cdn.jsdelivr.net/gh/azure/azure-sdk-for-net@main/README.md))
- [Service Principal Authentications](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/backend-as-a-service/authentication-as-a-service/service-principal-authentications.md) — Create and configure a service principal so an on-premises application can securely access cloud resources. ([source](https://docs.microsoft.com/dotnet/azure/sdk/authentication))
- [Cloud Native Application Development](https://awesome-repositories.com/f/devops-infrastructure/cloud-native-orchestration/cloud-native-application-development.md) — Build microservices for the cloud using container orchestration, service discovery, and managed container registries. ([source](https://docs.microsoft.com/dotnet/azure/))
- [Cloud Resource Groups](https://awesome-repositories.com/f/devops-infrastructure/cloud-resource-orchestrators/cross-resource-orchestrators/resource-grouping/cloud-resource-groups.md) — Provision a new resource group through the management SDK to organize cloud resources. ([source](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/mgmt_preview_quickstart.md))

### Part of an Awesome List

- [Data Storage and Databases](https://awesome-repositories.com/f/awesome-lists/data/data-storage-and-databases.md) — Connect to and query cloud databases and blob storage using object-relational mapping and data access libraries. ([source](https://docs.microsoft.com/dotnet/azure/))
- [Authentication and Security](https://awesome-repositories.com/f/awesome-lists/devtools/authentication-and-security.md) — Secure applications using identity providers, open standards, secret storage, and authentication frameworks. ([source](https://docs.microsoft.com/dotnet/azure/))

### Development Tools & Productivity

- [API Client Libraries](https://awesome-repositories.com/f/development-tools-productivity/api-client-libraries.md) — Use stable or preview client libraries to consume and manage cloud resources, such as uploading a storage blob. ([source](https://azure.github.io/azure-sdk-for-net))
- [Code Samples and READMEs](https://awesome-repositories.com/f/development-tools-productivity/code-samples-and-readmes.md) — Include a README file and ordered code samples in the samples directory, starting with a simple synchronous example. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [SDK Authentication](https://awesome-repositories.com/f/development-tools-productivity/sdk-authentication.md) — Authenticate, log, and interact with cloud services using the SDK client libraries for .NET. ([source](https://docs.microsoft.com/dotnet/azure/))
- [XML Documentation Comments](https://awesome-repositories.com/f/development-tools-productivity/xml-documentation-comments.md) — Document every public type and member using C# XML comments to generate reference documentation. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [Serverless Workflow Builders](https://awesome-repositories.com/f/development-tools-productivity/event-driven-workflow-triggers/serverless-workflow-builders.md) — Run code only when triggered by events like HTTP requests or file uploads, using hundreds of connectors to integrate services. ([source](https://docs.microsoft.com/dotnet/azure/intro))

### Networking & Communication

- [Pipeline Policy Chains](https://awesome-repositories.com/f/networking-communication/api-integration-frameworks/http-client-libraries/http-client-configurations/pipeline-policy-chains.md) — Assemble a chain of policies around an HTTP transport to standardize how client libraries interact with cloud services. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))
- [Service Client Constructors](https://awesome-repositories.com/f/networking-communication/remote-service-clients/service-client-constructors.md) — Pass endpoint and credential parameters into a client constructor to create a configured service client. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [OpenTelemetry Span Creation](https://awesome-repositories.com/f/networking-communication/tracing-context-propagation/opentelemetry-span-creation.md) — Create a span per REST call, accept a parent context, and propagate trace context to the backend via standard headers. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))
- [Azure Messaging Services](https://awesome-repositories.com/f/networking-communication/communication-platforms-services/messaging-notification-systems/messaging-services/message-broker-infrastructure/message-brokers/azure-messaging-services.md) — Send and receive messages between applications using queues, event hubs, and message brokers. ([source](https://docs.microsoft.com/dotnet/azure/))
- [Proxy Authentication Schemes](https://awesome-repositories.com/f/networking-communication/traffic-proxying/proxy-traffic-management/proxy-authentication-schemes.md) — Forward HTTP requests through a configured proxy, supporting Basic, Digest, and NTLM authentication schemes. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))

### Security & Cryptography

- [Azure Credential Configuration](https://awesome-repositories.com/f/security-cryptography/application-access-controls/azure-credential-configuration.md) — Configure credentials and access rights so an application can securely connect to cloud resources. ([source](https://docs.microsoft.com/dotnet/azure/sdk/azure-sdk-for-dotnet))
- [Connection String Authentication](https://awesome-repositories.com/f/security-cryptography/authentication-clients/credential-authentication/connection-string-authentication.md) — Pass a connection string from the cloud portal directly into a service constructor to establish a connection. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [Bearer Token Authentication](https://awesome-repositories.com/f/security-cryptography/bearer-token-authentication.md) — Use a token credential to fetch an OAuth token and attach it as a Bearer authorization header on each request. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))
- [Cloud Service Authentication](https://awesome-repositories.com/f/security-cryptography/cloud-service-authentication.md) — Authenticate against the cloud using a service principal or managed identity to authorize management API calls. ([source](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/mgmt_preview_quickstart.md))
- [Managed Identity Authentications](https://awesome-repositories.com/f/security-cryptography/identity-authentication/managed-identity-authentications.md) — Use a cloud-assigned identity to access services without storing or rotating any credentials. ([source](https://docs.microsoft.com/dotnet/azure/sdk/authentication))
- [OAuth Token Retrievals](https://awesome-repositories.com/f/security-cryptography/oauth-authentication/oauth-token-retrievals.md) — Retrieve an OAuth-compatible token atomically from a credential type to authenticate service requests. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))
- [Token Authentication](https://awesome-repositories.com/f/security-cryptography/token-authentication.md) — Use a token credential object to authenticate each request with OAuth tokens from Azure.Core. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [Developer Credential Authentications](https://awesome-repositories.com/f/security-cryptography/local-authentication/developer-credential-authentications.md) — Test cloud access from a local workstation using a developer's own identity account. ([source](https://docs.microsoft.com/dotnet/azure/sdk/authentication))

### Software Engineering & Architecture

- [Structured Service Exceptions](https://awesome-repositories.com/f/software-engineering-architecture/error-handling-strategies/monadic-error-handling/throw-based-error-handlers/structured-service-exceptions.md) — Throw a structured exception when a service method returns a non-success status code, with details parsed from the response. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [HTTP Pipeline Logging](https://awesome-repositories.com/f/software-engineering-architecture/event-logging/http-pipeline-logging.md) — Emit structured log messages at configurable levels for requests, responses, cancellations, and errors. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))

### Testing & Quality Assurance

- [Mockable Service Clients](https://awesome-repositories.com/f/testing-quality-assurance/mock-client-testing/mockable-service-clients.md) — Mock a service client by using a protected parameterless constructor and virtual methods to create testable implementations. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [Subclient Factories](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/mocking-frameworks/protected-method-mocks/mockable-subclients/subclient-factories.md) — Use factory methods on a service client to create subclients that handle specific operations or resource groups. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [Model Graph Mocks](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/mocking-frameworks/partial-mocks/model-graph-mocks.md) — Mock a model graph by using a static factory to construct model instances for mocked service responses. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [Mockable Subclients](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/mocking-frameworks/protected-method-mocks/mockable-subclients.md) — Mock a subclient by using a protected parameterless constructor and virtual methods to create testable implementations. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))

### Web Development

- [Conditional Resource Requests](https://awesome-repositories.com/f/web-development/api-management-tools/api-request-handling/request-parameter-modifiers/conditional-resource-requests.md) — Pass MatchConditions or RequestConditions parameters to implement optimistic concurrency using ETags. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [Client-Side Version Selection](https://awesome-repositories.com/f/web-development/api-versioning/client-side-version-selection.md) — Choose a specific service API version by passing a required version parameter when configuring the client. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [Global Configuration](https://awesome-repositories.com/f/web-development/global-configuration.md) — Override settings from system settings, environment variables, a global configuration store, and runtime parameters in a defined order. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))
- [Long-Running Operation Polling](https://awesome-repositories.com/f/web-development/rest-apis/api-response-validation/long-running-task-endpoints/long-running-operation-polling.md) — Return a subclass of Operation that supports polling, waiting for completion, and retrieving the final result. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))
- [Managed Web Application Hosting](https://awesome-repositories.com/f/web-development/managed-web-application-hosting.md) — Build and deploy web applications using managed app services, serverless functions, and API gateways. ([source](https://docs.microsoft.com/dotnet/azure/))
- [Managed Application Hosting](https://awesome-repositories.com/f/web-development/managed-web-application-hosting/managed-application-hosting.md) — Deploy the full application stack onto managed services that provide built-in scalability, high availability, and security. ([source](https://docs.microsoft.com/dotnet/azure/intro))
- [Full Response Downloads](https://awesome-repositories.com/f/web-development/request-body-handling/progressive-body-downloading/full-response-downloads.md) — Read the entire HTTP response payload before deserialization, retrying on network failure during the download. ([source](https://azure.github.io/azure-sdk/general_azurecore.html))
- [Mockable Long-Running Operations](https://awesome-repositories.com/f/web-development/rest-apis/api-response-validation/long-running-task-endpoints/long-running-operation-polling/mockable-long-running-operations.md) — Mock a long-running operation by using a protected parameterless constructor and virtual properties to create testable subclasses. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))

### Artificial Intelligence & ML

- [Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-application-orchestrators/agent-orchestration.md) — Build intelligent applications by orchestrating large language models, exploring model options, and managing agents through a single interface. ([source](https://docs.microsoft.com/dotnet/azure/intro))
- [Application Integration](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-models/generative-ai-model-building-and-deployment/application-integration.md) — Integrate generative AI and large language models into applications to enable chat, image generation, and search over private data. ([source](https://docs.microsoft.com/dotnet/azure/))

### Data & Databases

- [Lazy Enumeration Patterns](https://awesome-repositories.com/f/data-databases/in-memory-collection-paging/lazy-enumeration-patterns.md) — Return Pageable or AsyncPageable from methods that retrieve paginated results, enabling lazy enumeration of items. ([source](https://azure.github.io/azure-sdk/dotnet_introduction.html))

### Operating Systems & Systems Programming

- [Cloud Virtual Networks](https://awesome-repositories.com/f/operating-systems-systems-programming/virtualization-emulation/virtualization-platforms/virtualization-networking/cloud-virtual-networks.md) — Create and configure a virtual network in the cloud using the management SDK for network isolation. ([source](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/mgmt_preview_quickstart.md))

### System Administration & Monitoring

- [Azure SDK Interaction Logging](https://awesome-repositories.com/f/system-administration-monitoring/cloud-sdk-performance-monitoring/azure-sdk-interaction-logging.md) — Enable logging to capture and troubleshoot communication between an application and cloud services. ([source](https://docs.microsoft.com/dotnet/azure/sdk/azure-sdk-for-dotnet))
- [Monitoring and Observability](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability.md) — Capture telemetry and troubleshoot application performance using cloud monitoring tools. ([source](https://docs.microsoft.com/dotnet/azure/))
