From c8c3802fade48cbac84c26ac1d975a5337f6d76c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Oct 2025 13:10:53 +0000 Subject: [PATCH 1/4] Initial plan From 17ec1d34805a7222a9c483d3375d170e3f7f849f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Oct 2025 13:20:30 +0000 Subject: [PATCH 2/4] Clarify Azure Blob Storage uses modern Azure.Storage.Blobs package Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com> --- docs/fsharp/using-fsharp-on-azure/blob-storage.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/fsharp/using-fsharp-on-azure/blob-storage.md b/docs/fsharp/using-fsharp-on-azure/blob-storage.md index c5e34b64d3973..aa4b26a4b7ae1 100644 --- a/docs/fsharp/using-fsharp-on-azure/blob-storage.md +++ b/docs/fsharp/using-fsharp-on-azure/blob-storage.md @@ -10,12 +10,15 @@ ai-usage: ai-assisted Azure Blob Storage is a service that stores unstructured data in the cloud as objects/blobs. Blob storage can store any type of text or binary data, such as a document, media file, or application installer. Blob storage is also referred to as object storage. -This article shows you how to perform common tasks using Blob storage. The samples are written using F# using the Azure Storage Client Library for .NET. The tasks covered include how to upload, list, download, and delete blobs. +This article shows you how to perform common tasks using Blob storage. The samples are written using F# with the `Azure.Storage.Blobs` package. The tasks covered include how to upload, list, download, and delete blobs. For a conceptual overview of blob storage, see [the .NET guide for blob storage](/azure/storage/blobs/storage-quickstart-blobs-dotnet). For ease, these tutorials use [connection strings](/azure/storage/storage-configure-connection-string) to authenticate with Azure. For production applications, you should use Microsoft Entra ID with [managed identities](/entra/identity/managed-identities-azure-resources/) or the [Azure.Identity library](/dotnet/api/overview/azure/identity-readme) for enhanced security. +> [!IMPORTANT] +> This article uses the modern `Azure.Storage.Blobs` package. If you're updating from older code that used the deprecated `WindowsAzure.Storage` or `Microsoft.Azure.Storage.Blob` packages, you need to update your package references and namespace declarations. For migration guidance, see [Migrate to Azure.Storage.Blobs](/azure/storage/blobs/storage-quickstart-blobs-dotnet). + > [!NOTE] -> This article uses the standard Azure Storage Client Library for .NET. F# developers might consider the [FSharp.Azure.Blob](https://github.com/random82/FSharp.Azure.Blob) library, which provides a more idiomatic F# API for working with Azure Blob Storage. This community library offers idiomatic F# functions and patterns that make blob operations more natural in F#. +> F# developers might consider the [FSharp.Azure.Blob](https://github.com/random82/FSharp.Azure.Blob) library, which provides a more idiomatic F# API for working with Azure Blob Storage. This community library offers idiomatic F# functions and patterns that make blob operations more natural in F#. ## Prerequisites @@ -35,7 +38,7 @@ F# Interactive, `dotnet fsi`, can be launched interactively, or it can be launch ### Add packages in a script -Next, use `#r` `nuget:package name` to install the `Azure.Storage.Blobs` package and `open` namespaces.Such as +Use `#r` `nuget:package name` to install the `Azure.Storage.Blobs` package and `open` the required namespaces: ```fsharp > #r "nuget: Azure.Storage.Blobs" From 2eb6209e6dae87cb626bfb01e174bca4b51dad56 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Oct 2025 13:01:43 +0000 Subject: [PATCH 3/4] Update sample comment and article date per feedback Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com> --- docs/fsharp/using-fsharp-on-azure/blob-storage.md | 2 +- samples/snippets/fsharp/azure/blob-storage.fsx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/fsharp/using-fsharp-on-azure/blob-storage.md b/docs/fsharp/using-fsharp-on-azure/blob-storage.md index aa4b26a4b7ae1..0cd16f8f5e855 100644 --- a/docs/fsharp/using-fsharp-on-azure/blob-storage.md +++ b/docs/fsharp/using-fsharp-on-azure/blob-storage.md @@ -2,7 +2,7 @@ title: Get started with Azure Blob Storage using F# description: Store unstructured data in the cloud with Azure Blob Storage. author: sylvanc -ms.date: 09/17/2024 +ms.date: 10/02/2025 ms.custom: "devx-track-fsharp" ai-usage: ai-assisted --- diff --git a/samples/snippets/fsharp/azure/blob-storage.fsx b/samples/snippets/fsharp/azure/blob-storage.fsx index 77e34963a6327..58015f9c22215 100644 --- a/samples/snippets/fsharp/azure/blob-storage.fsx +++ b/samples/snippets/fsharp/azure/blob-storage.fsx @@ -1,3 +1,6 @@ +// This sample uses the modern Azure.Storage.Blobs package. +// Do not use the deprecated WindowsAzure.Storage or Microsoft.Azure.Storage.Blob packages. + open System open System.IO open Azure.Storage.Blobs // Namespace for Blob storage types From 81662b437dbb0e72f420cd67a4f2d6db6fdfd9d1 Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Thu, 2 Oct 2025 13:12:33 -0400 Subject: [PATCH 4/4] Apply suggestions from code review --- samples/snippets/fsharp/azure/blob-storage.fsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/samples/snippets/fsharp/azure/blob-storage.fsx b/samples/snippets/fsharp/azure/blob-storage.fsx index 58015f9c22215..77e34963a6327 100644 --- a/samples/snippets/fsharp/azure/blob-storage.fsx +++ b/samples/snippets/fsharp/azure/blob-storage.fsx @@ -1,6 +1,3 @@ -// This sample uses the modern Azure.Storage.Blobs package. -// Do not use the deprecated WindowsAzure.Storage or Microsoft.Azure.Storage.Blob packages. - open System open System.IO open Azure.Storage.Blobs // Namespace for Blob storage types