Connect your app to Azure Services
Azure offers a variety of services that applications can take advantage of regardless of whether they are hosted in Azure or on-premises. For example you could:
- Use Azure Blob Storage to store and retrieve files in the cloud.
- Add full text searching capability to your application using 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 are fully managed by Azure.
Accessing Azure Services from Application Code
There are two ways to access Azure service from your application code.
- Azure SDK - Available for .NET, Java, JavaScript, Python and Go.
- Azure REST API - Available from all languages.
When possible, it is recommended to use the Azure SDK to access Azure services from application code. Advantages of using the Azure SDK include:
- Accessing Azure services is just like using any other library. You import the appropriate SDK package into your application, create a client object, and then call methods on the client object to communicate with your Azure resource.
- Simplifies the process of authenticating your application to Azure. When creating an SDK client object, you include the right credentials and the SDK takes care of authenticating your calls to Azure
- Simplified programming model. Internally, the Azure SDK calls the Azure REST API. However, the Azure SDK has built in error handling, retry logic, and result pagination making programming against the SDK simpler than calling the REST API directly.
Azure SDK
The Azure SDK allows programmatic access to Azure services from .NET, Java, JavaScript, Python, and Go applications. Applications install the necessary packages from their respective package manager and then call methods to programmatically access Azure resources.
More information about the Azure SDK for each language can be found in each language's developer center.
Azure REST API
Programming languages not supported by the Azure SDK can make use of the Azure REST API. Details of how to call the Azure REST API and a full list of operations are available in the Azure REST API overview.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for