techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

5.3K
active users

#azuresdk

0 posts0 participants0 posts today
Alvin Ashcraft<p>Rust in time! Announcing the Azure SDK for Rust Beta. 🎉 <a href="https://devblogs.microsoft.com/azure-sdk/rust-in-time-announcing-the-azure-sdk-for-rust-beta/?hide_banner=true" rel="nofollow noopener noreferrer" target="_blank">https://devblogs.microsoft.com/azure-sdk/rust-in-time-announcing-the-azure-sdk-for-rust-beta/?hide_banner=true</a> <a class="hashtag" href="https://bsky.app/search?q=%23rustlang" rel="nofollow noopener noreferrer" target="_blank">#rustlang</a> <a class="hashtag" href="https://bsky.app/search?q=%23azure" rel="nofollow noopener noreferrer" target="_blank">#azure</a> <a class="hashtag" href="https://bsky.app/search?q=%23cloud" rel="nofollow noopener noreferrer" target="_blank">#cloud</a> <a class="hashtag" href="https://bsky.app/search?q=%23azuresdk" rel="nofollow noopener noreferrer" target="_blank">#azuresdk</a><br><br><a href="https://devblogs.microsoft.com/azure-sdk/rust-in-time-announcing-the-azure-sdk-for-rust-beta/?hide_banner=true" rel="nofollow noopener noreferrer" target="_blank">Rust in time! Announcing the A...</a></p>
Alvin Ashcraft 🐿️<p>Rust in time! Announcing the Azure SDK for Rust Beta. 🎉</p><p><a href="https://devblogs.microsoft.com/azure-sdk/rust-in-time-announcing-the-azure-sdk-for-rust-beta/?hide_banner=true" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">devblogs.microsoft.com/azure-s</span><span class="invisible">dk/rust-in-time-announcing-the-azure-sdk-for-rust-beta/?hide_banner=true</span></a></p><p><a href="https://hachyderm.io/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a> <a href="https://hachyderm.io/tags/azure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azure</span></a> <a href="https://hachyderm.io/tags/cloud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cloud</span></a> <a href="https://hachyderm.io/tags/azuresdk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azuresdk</span></a></p>
Alvin Ashcraft<p>Introducing Azure OpenAI Realtime API Support in JavaScript. <a href="https://devblogs.microsoft.com/azure-sdk/introducing-azure-openai-realtime-api-support-in-javascript/" rel="nofollow noopener noreferrer" target="_blank">https://devblogs.microsoft.com/azure-sdk/introducing-azure-openai-realtime-api-support-in-javascript/</a> <a href="https://bsky.app/search?q=%23ai" rel="nofollow noopener noreferrer" target="_blank">#ai</a> <a href="https://bsky.app/search?q=%23cloud" rel="nofollow noopener noreferrer" target="_blank">#cloud</a> <a href="https://bsky.app/search?q=%23azure" rel="nofollow noopener noreferrer" target="_blank">#azure</a> <a href="https://bsky.app/search?q=%23openai" rel="nofollow noopener noreferrer" target="_blank">#openai</a> <a href="https://bsky.app/search?q=%23javascript" rel="nofollow noopener noreferrer" target="_blank">#javascript</a> <a href="https://bsky.app/search?q=%23azureopenai" rel="nofollow noopener noreferrer" target="_blank">#azureopenai</a> <a href="https://bsky.app/search?q=%23aimodels" rel="nofollow noopener noreferrer" target="_blank">#aimodels</a> <a href="https://bsky.app/search?q=%23apis" rel="nofollow noopener noreferrer" target="_blank">#apis</a> <a href="https://bsky.app/search?q=%23azuresdk" rel="nofollow noopener noreferrer" target="_blank">#azuresdk</a><br><br><a href="https://devblogs.microsoft.com/azure-sdk/introducing-azure-openai-realtime-api-support-in-javascript/" rel="nofollow noopener noreferrer" target="_blank">Introducing Azure OpenAI Realt...</a></p>
Alvin Ashcraft<p>Azure SDK January 2025 Release Notes. <a href="https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-january-2025/" rel="nofollow noopener noreferrer" target="_blank">https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-january-2025/</a> <a href="https://bsky.app/search?q=%23cloud" rel="nofollow noopener noreferrer" target="_blank">#cloud</a> <a href="https://bsky.app/search?q=%23azure" rel="nofollow noopener noreferrer" target="_blank">#azure</a> <a href="https://bsky.app/search?q=%23microsoftazure" rel="nofollow noopener noreferrer" target="_blank">#microsoftazure</a> <a href="https://bsky.app/search?q=%23azuresdk" rel="nofollow noopener noreferrer" target="_blank">#azuresdk</a> <a href="https://bsky.app/search?q=%23dotnet" rel="nofollow noopener noreferrer" target="_blank">#dotnet</a> <a href="https://bsky.app/search?q=%23java" rel="nofollow noopener noreferrer" target="_blank">#java</a> <a href="https://bsky.app/search?q=%23javascript" rel="nofollow noopener noreferrer" target="_blank">#javascript</a> <a href="https://bsky.app/search?q=%23python" rel="nofollow noopener noreferrer" target="_blank">#python</a><br><br><a href="https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-january-2025/" rel="nofollow noopener noreferrer" target="_blank">Azure SDK Release (January 202...</a></p>
Alvin Ashcraft 🐿️<p>Azure SDK Release (November 2024).</p><p><a href="https://buff.ly/413PVbz" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">buff.ly/413PVbz</span><span class="invisible"></span></a> <br><a href="https://hachyderm.io/tags/cloud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cloud</span></a> <a href="https://hachyderm.io/tags/azure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azure</span></a> <a href="https://hachyderm.io/tags/azuresdk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azuresdk</span></a> <a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java</span></a> <a href="https://hachyderm.io/tags/javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javascript</span></a> <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/golang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>golang</span></a></p>
Heath Stewart<p>Prototyping test recording for <a href="https://fosstodon.org/tags/AzureSDK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AzureSDK</span></a> for <a href="https://fosstodon.org/tags/RustLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustLang</span></a>: <a href="https://github.com/heaths/recorded-tests" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/heaths/recorded-tes</span><span class="invisible">ts</span></a></p><p>Attribute sync or async tests using `#[recorded]` and can accept optional `TestContext` parameter. Full implementation should automatically set up HTTP transport to record or play back.</p><p>Thoughts? Still early.</p>
holger<p>TIL that the azure-mgmt-core library (<a href="https://hachyderm.io/tags/AzureSDK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AzureSDK</span></a> for <a href="https://hachyderm.io/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a>) actually contains some useful helper functions:<br>- parse_resource_id(), which returns the parts of the id<br>- resource_id(), which builds a resource id based on the parameters passed into the function<br>- is_valid_resource_id(), to validate a resource id<br>- is_valid_resource_name(), to validate a resource name against ARM guidelines<br>- get_arm_endpoints(), to return ARM endpoint and ARM credential scopes</p><p><a href="https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-mgmt-core/azure/mgmt/core/tools.py" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Azure/azure-sdk-for</span><span class="invisible">-python/blob/main/sdk/core/azure-mgmt-core/azure/mgmt/core/tools.py</span></a></p><p><a href="https://hachyderm.io/tags/azure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azure</span></a></p>
Heath Stewart<p><span class="h-card" translate="no"><a href="https://hachyderm.io/@vbfox" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>vbfox</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@khalidabuhakmeh" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>khalidabuhakmeh</span></a></span> an RFC is already approved and partly implemented that accomplishes some of this. We’re hoping it’s stabilized before we GA our first <a href="https://fosstodon.org/tags/AzureSDK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AzureSDK</span></a> for Rust crates.</p>
Heath Stewart<p>This may be enough for us to ditch our plans of using builders over ugly nested `..Default::default()` calls for nested client options in the <a href="https://fosstodon.org/tags/AzureSDK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AzureSDK</span></a> for rust. It wasn’t the only reason, but a significant one.<br><a href="https://hachyderm.io/@ekuber/113369453953113824" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hachyderm.io/@ekuber/113369453</span><span class="invisible">953113824</span></a></p>
Alvin Ashcraft 🐿️<p>Azure SDK Release (September 2024).</p><p><a href="https://hachyderm.io/tags/azure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azure</span></a> <a href="https://hachyderm.io/tags/cloud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cloud</span></a> <a href="https://hachyderm.io/tags/azuresdk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azuresdk</span></a> <a href="https://hachyderm.io/tags/java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java</span></a> <a href="https://hachyderm.io/tags/golang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>golang</span></a> <a href="https://hachyderm.io/tags/javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javascript</span></a> <a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/typescript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>typescript</span></a> <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <br><a href="https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-september-2024/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">devblogs.microsoft.com/azure-s</span><span class="invisible">dk/azure-sdk-release-september-2024/</span></a></p>
Heath Stewart<p>We've been discussing internally and leaning toward transport-level mocking - fakes - like we do in our <a href="https://fosstodon.org/tags/AzureSDK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AzureSDK</span></a> for <a href="https://fosstodon.org/tags/golang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>golang</span></a>: <a href="https://github.com/Azure/azure-sdk-for-go/blob/39d3aaa4b38dabada65b2683efc1d01e51e9bd30/sdk/resourcemanager/aad/armaad/fake/privateendpointconnections_server.go#L26" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Azure/azure-sdk-for</span><span class="invisible">-go/blob/39d3aaa4b38dabada65b2683efc1d01e51e9bd30/sdk/resourcemanager/aad/armaad/fake/privateendpointconnections_server.go#L26</span></a></p><p>Basically, a struct which implements our `Policy` to be used as our transport in an already-pluggable pipeline and declares distinct `Arc&lt;dyn Fn(..) -&gt; impl Future&lt;..&gt;` fields that are mapped to endpoint calls.</p><p>Seems the most flexible and requires no change to the client API since we already support replacing the transport.</p>
Heath Stewart<p>Would love feedback on mocking service clients for <a href="https://fosstodon.org/tags/AzureSDK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AzureSDK</span></a> for <a href="https://fosstodon.org/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a>: <a href="https://play.rust-lang.org/?version=stable&amp;edition=2021&amp;gist=12be3a45e8fccfa4f3ce06fd0744b6e1" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">play.rust-lang.org/?version=st</span><span class="invisible">able&amp;edition=2021&amp;gist=12be3a45e8fccfa4f3ce06fd0744b6e1</span></a></p><p>Our current design requires pulling a trait into scope, and while rust-analyzer or other LSPs makes that easy not everything uses them: <a href="https://azure.github.io/azure-sdk/rust_introduction.html#rust-client-mocking" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">azure.github.io/azure-sdk/rust</span><span class="invisible">_introduction.html#rust-client-mocking</span></a></p><p>A colleague came up with a better way I prototyped above to better demo our current public API. The only caveat seems no worse than what we have now and should affect few developers, we believe.</p>
Alvin Ashcraft 🐿️<p>Azure SDK Release (June 2024).</p><p><a href="https://hachyderm.io/tags/cloud" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cloud</span></a> <a href="https://hachyderm.io/tags/azure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azure</span></a> <a href="https://hachyderm.io/tags/azuresdk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azuresdk</span></a> <a href="https://hachyderm.io/tags/java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>java</span></a> <a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/golang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>golang</span></a> <a href="https://hachyderm.io/tags/javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>javascript</span></a> <a href="https://hachyderm.io/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> <br><a href="https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-june-2024/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">devblogs.microsoft.com/azure-s</span><span class="invisible">dk/azure-sdk-release-june-2024/</span></a></p>
Heath Stewart<p><span class="h-card" translate="no"><a href="https://mastodon.social/@ekis" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ekis</span></a></span> <span class="h-card" translate="no"><a href="https://octodon.social/@fraggle" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>fraggle</span></a></span> I often work with monorepos like the <a href="https://fosstodon.org/tags/AzureSDK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AzureSDK</span></a> for <a href="https://fosstodon.org/tags/Go" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Go</span></a>. That's when git worktrees and sparse checkouts can help reduce checkout time and drive space exhaustion. Check out <a href="https://heaths.dev/tips/2022/06/18/reduce-fetch-and-checkout-times-in-git.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">heaths.dev/tips/2022/06/18/red</span><span class="invisible">uce-fetch-and-checkout-times-in-git.html</span></a> for some tips. I should probably update that to mention worktrees too, though that really just helps reduce cloning time and minimizes disk space.</p><p>One advantage is having different copies of dependencies in different states, though I wonder how often that's a problem.</p>
Alexandre Nédélec<p>Great article with basic concepts to use Azure SDK 👉 <a href="https://devblogs.microsoft.com/azure-sdk/understanding-the-azure-core-library-for-net/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">devblogs.microsoft.com/azure-s</span><span class="invisible">dk/understanding-the-azure-core-library-for-net/</span></a> 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.</p><p>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.</p><p><a href="https://mas.to/tags/azure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azure</span></a> <a href="https://mas.to/tags/azuresdk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>azuresdk</span></a></p>
Heath Stewart<p>The <a href="https://fosstodon.org/tags/AzureDeveloperCLI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AzureDeveloperCLI</span></a> `azd` has been available for a short while as a <a href="https://fosstodon.org/tags/devcontainer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>devcontainer</span></a> feature, which I recently used in <a href="https://github.com/heaths/azcrypto" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/heaths/azcrypto</span><span class="invisible"></span></a>: <a href="https://github.com/heaths/azcrypto/pull/63/files#diff-24ad71c8613ddcf6fd23818cb3bb477a1fb6d83af4550b0bad43099813088686R8" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/heaths/azcrypto/pul</span><span class="invisible">l/63/files#diff-24ad71c8613ddcf6fd23818cb3bb477a1fb6d83af4550b0bad43099813088686R8</span></a></p><p>It will not only install `azd`, but the <a href="https://fosstodon.org/tags/Azure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Azure</span></a> dev extension for <a href="https://fosstodon.org/tags/VSCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>VSCode</span></a>. It makes deploying resources and applications a breeze.</p><p>I use it in azcrypto in lieu of the resource provisioning scripts I originally wrote for all of <a href="https://fosstodon.org/tags/AzureSDK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AzureSDK</span></a> to deploy resources uniformly. This is a publicly available (near) equivalent.</p>

I'll be on the Azure Community Standup today at 2PM EDT / 11 AM PDT talking about the Azure SDKs for JavaScript, how we're shipping smaller packages, and some demos using Azure Open AI streaming chat completions. Come say hi!

youtube.com/watch?v=5outv9Iqso

Now that the #golang #AzureSDK for #KeyVault has released v1.0.0, I have updated to it and released v1 of pkg.go.dev/github.com/heaths/a : a cryptography client for Key Vault and #ManagedHSM that not 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.

pkg.go.devazcrypto package - github.com/heaths/azcrypto - Go Packages