Great article with basic concepts to use Azure SDK 👉 https://devblogs.microsoft.com/azure-sdk/understanding-the-azure-core-library-for-net/ Since Azure SDK follow the same guidelines, using them is much easier and nicer. Unfortunately, some SDK (Cosmos, Azure IoT) still go their own way, but globally the dev experience has improved.
Yet, I still sometimes come across code that wraps Azure SDK. People, please stop that, it's useless and it prevents other developers to learn how to correctly use Azure SDK.
Teh #AzureDeveloperCLI `azd` has been available for a short while as a #devcontainer feature, which I recently used in https://github.com/heaths/azcrypto: https://github.com/heaths/azcrypto/pull/63/files#diff-24ad71c8613ddcf6fd23818cb3bb477a1fb6d83af4550b0bad43099813088686R8
It will not only install `azd`, but the #Azure dev extension for #VSCode. It makes deploying resources and applications a breeze.
I use it in azcrypto in lieu of the resource provisioning scripts I originally wrote for all of #AzureSDK to deploy resources uniformly. This is a publicly available (near) equivalent.
#azuredevelopercli #devcontainer #azure #vscode #azuresdk
https://devblogs.microsoft.com/azure-sdk/understanding-the-azure-core-library-for-net/
Azure Core for all our language SDKs plays a core part of our HTTP pipeline (and other protocols in some cases, like AMQP), serialization, and more. My colleague, Anne, does a great job explaining a lot of it here. #Azure #AzureSDK
Now that the #golang #AzureSDK for #KeyVault has released v1.0.0, I have updated to it and released v1 of https://pkg.go.dev/github.com/heaths/azcrypto@v1.0.0 : a cryptography client for Key Vault and #ManagedHSM that now only makes it easier to call crypto operations but tries to first cache the public key and do public key operations locally to improve performance and help mitigate throttling.
We have this in our other languages' SDKs but doesn't fit our design goals for #golang, so I wrote it as a separate module.
#golang #azuresdk #keyvault #managedhsm
@larryosterman to clarify for others interested in #Azure or #AzureSDK, we - including others from different departments at #Microsoft - have established guidelines for both service APIs (typically REST) as well as client libraries we write and generate. Our code generators follow those same guidelines.
#TypeSpec is designed to bridge those concepts. With the same expressive grammar, service teams have more central control (with guard rails) over both service and client code.
#azure #azuresdk #microsoft #typespec
Why does it seem so impossible to find real code examples for #Azure #azuresdk ? Microsoft.Azure.Management.AppService.Fluent is deprecated for Azure.ResourceManager.AppService, and all I want to see is an example of how to use the new package to restart one of my AppServices. This was easily done with the old package, and I can't find anything to help me migrate #csharp code. Would love if anyone could point me in the right direction!!
Some of my colleagues put a lot of work into dynamic support for RESTful payloads for the #AzureSDK for #dotnet. I updated some of the samples I own and it feels idiomatic. As we convert more #Azure services to #TypeSpec, we'll be generating model classes but Dynamic JSON will still be useful in more advanced scenarios.
Read https://devblogs.microsoft.com/azure-sdk/dynamic-json-in-azure-core/ for more information.
#azuresdk #dotnet #azure #typespec
My https://github.com/heaths/azcrypto module for easy #Azure #KeyVault and #ManagedHSM crypto operations is now feature-complete and at parity with our other #AzureSDK languages' crypto libraries. It now supports crypto operations locally using a JWK.
Not likely to make it into our official azkeys SDK, but written to our same SDK guidelines.
azkeys will GA soon, and once I upgrade my dependency I plan to GA this module.
#azure #keyvault #managedhsm #azuresdk
I've been working on a "business adjacent" project - as many of mine are - but for something that may one day be part of our #AzureSDK for #golang. Regardless of whether it gets included, I want it to feel like a first-party experience when used with our other client libraries. Given I'm part of the team, I'm coining(?) the phrase, "first-ex parte".
See https://github.com/heaths/azcrypto for a cryptography client for #Azure #KeyVault or #ManagedHSM. It's basically the same as we have in other languages.
#azuresdk #golang #azure #keyvault #managedhsm
Since the #AzureSDK for #golang's philosophy is thin, mostly generated clients - which I don't disagree with - I built a #cryptography client atop it much like I helped drive in our other SDK languages and wrote for the #Azure #KeyVault SDK for .NET: https://github.com/heaths/azcrypto
It's very early in development right now - supporting only #ECDsa sign and verify - but is an MVP enough to get some feedback from my team or anyone else who may be interested.
#azuresdk #golang #cryptography #azure #keyvault #ecdsa
https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-april-2023/
Azure Core Experimental for Python has a new beta release with experimental HTTP transport
Very interesting read on Custom HTTP transport in the Azure Python SDK with lots of details:
https://devblogs.microsoft.com/azure-sdk/custom-transport-in-python-sdk-an-httpx-experiment/
#azure #azuresdk #python #HTTPTransport
#azure #azuresdk #python #httptransport
I did a quick write-up of my testing around Transport Sharing with the Azure SDK for Python. It can be found here: https://dev.to/holger/transport-sharing-azure-sdk-for-python-2n6c
#azure #azuresdk #python #httptransport #transportsharing
Read through this blog post about Transport sharing in the #Azure SDK for #Python on the #Microsoft Developer Blog: https://devblogs.microsoft.com/azure-sdk/transport-sharing-in-azure-sdk-for-python/
However, I'm new to this functionality so I couldn't get the full picture from just the blog postw without any references. Fortunately there are some code samples in the #AzureSDK GitHub Repository that helped me so that I could test it out: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/samples/example_shared_transport.py
#azure #python #microsoft #azuresdk
Huh, nice, it is possible to upload custom logs to #Azure #LogAnalytics workspaces through the #AzureSDK Client libraries.
https://azure.microsoft.com/en-us/updates/azure-monitor-ingestion-libraries/
Details and examples on the Azure Monitor Ingestion client library for #Python are also available: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-ingestion/README.md
#azure #loganalytics #azuresdk #python
RT @alvinashcraft
Announcing the new beta release of Azure Text Analytics libraries by Krista Pratico.
#cloud #azure #azuresdk #python #java #javascript #dotnet
https://devblogs.microsoft.com/azure-sdk/announcing-the-new-beta-release-of-azure-text-analytics-libraries/
#cloud #azure #azuresdk #python #java #javascript #dotnet
The latest beta release of the Azure Text Analytics client libraries for Python (and other SDK's) has been announced. The blog post includes Python samples for these features:
- Abstractive summarization
- Named entity recognition (NER) resolutions
- Dynamic classification
- Healthcare FHIR bundles with document type
- Automatic language and script detection
#azure #python #azuresdk #ai #textanalytics