Edit

Share via


Connect your app to Azure services

This article is part four in a series of seven articles that help you get started with Azure.

Azure offers many services that applications can use whether they're hosted in Azure or on-premises. For example, you can:

  • Store and retrieve files with Azure Blob Storage.
  • Add full-text search to your application with Azure AI Search.
  • Use Azure Service Bus to handle messaging between different components of a microservices architecture.
  • Use Text Analytics to identify and redact sensitive data in a document.

Azure services offer the benefit that they're fully managed by Azure.

Access Azure services from application code

Use either the Azure SDK or the Azure REST API to access Azure services from your application code.

  • Azure SDK - Available for .NET, Java, JavaScript, Python, and Go.
  • Azure REST API - Available for all languages.

When possible, use the Azure SDK to access Azure services from application code. Advantages include:

  • Access Azure services like any other library. You import the appropriate SDK package, create a client object, then call its methods to work with your Azure resource.
  • Simplify authentication. When you create an SDK client object, you include credentials, and the SDK handles authenticating your calls to Azure.
  • Simplified programming model. Internally, the Azure SDK calls the Azure REST API. The SDK includes built-in error handling, retry logic, and result pagination, making development simpler than calling the REST API directly.

Azure SDK

The Azure SDK lets you access Azure services from .NET, Java, JavaScript, Python, and Go. Install the required packages from each language's package manager, then call the SDK methods to access Azure resources.

For more information about the Azure SDK, see the documentation in each language's developer center.

Language   Overview Package list
.NET Logo .NET Azure SDK for .NET overview Azure SDK for .NET package list
Java Logo Java Azure SDK for Java overview Azure SDK for Java package list
JavaScript Logo JavaScript Azure SDK for JavaScript overview Azure SDK for JavaScript package list
Python Logo Python Azure SDK for Python overview Azure SDK for Python package list
Golang Logo Go Azure SDK for Go overview Azure SDK for Go package list

Azure REST API

Use the Azure REST API when the Azure SDK doesn't support your programming language. For details and the full list of operations, see the Azure REST API overview.