Soenneker.Blob.Fetch 11.0.2461

Prefix Reserved
dotnet add package Soenneker.Blob.Fetch --version 11.0.2461
                    
NuGet\Install-Package Soenneker.Blob.Fetch -Version 11.0.2461
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Blob.Fetch" Version="11.0.2461" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Blob.Fetch" Version="11.0.2461" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Blob.Fetch" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Blob.Fetch --version 11.0.2461
                    
#r "nuget: Soenneker.Blob.Fetch, 11.0.2461"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Blob.Fetch@11.0.2461
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Blob.Fetch&version=11.0.2461
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blob.Fetch&version=11.0.2461
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Blob.Fetch

Lists Azure Blob Storage items and their metadata, optionally filtered by a blob-name prefix.

Installation

dotnet add package Soenneker.Blob.Fetch

Configuration

Provide the Azure Storage connection string through configuration:

{
  "Azure": {
    "Storage": {
      "Blob": {
        "ConnectionString": "<connection string>"
      }
    }
  }
}

Registration

using Microsoft.Extensions.DependencyInjection;
using Soenneker.Blob.Fetch.Registrars;

services.AddBlobFetchUtilAsSingleton();

Use AddBlobFetchUtilAsScoped() when the consuming service should be scoped.

Usage

using Azure.Storage.Blobs.Models;
using Soenneker.Blob.Fetch.Abstract;

public sealed class ExportCatalog
{
    private readonly IBlobFetchUtil _fetch;

    public ExportCatalog(IBlobFetchUtil fetch)
    {
        _fetch = fetch;
    }

    public async ValueTask<IReadOnlyList<BlobItem>> ListCsvExports(
        CancellationToken cancellationToken)
    {
        return await _fetch.GetAllBlobItems(
            "exports",
            prefix: "daily/",
            cancellationToken);
    }
}

Each returned BlobItem describes a blob. The blob content is not downloaded.

Behavior

  • prefix is a blob-name prefix, not a wildcard or regular expression. For example, daily/ matches blobs stored beneath that virtual path.
  • Azure may retrieve the listing in multiple service pages, but this library collects every result into one List<BlobItem> before returning.
  • Because the complete result is held in memory, use Azure's pageable APIs directly when listing a very large or untrusted container.
  • The underlying container utility creates a missing container before listing it. An empty result can therefore mean either an existing empty container or a newly created one.
  • Blob content and optional metadata fields that were not requested by the underlying Azure listing are not fetched.
  • Cancellation is observed while retrieving listing pages.
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Blob.Fetch:

Package Downloads
Soenneker.Blob.Delete

A utility library for Azure Blob storage delete operations

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.2461 141 11/21/2026
11.0.2460 181 11/19/2026
11.0.2459 155 11/18/2026
11.0.2458 192 11/18/2026
11.0.2457 125 11/18/2026
11.0.2456 128 11/18/2026
11.0.2455 161 11/15/2026
11.0.2454 136 11/15/2026
11.0.2453 168 11/11/2026
11.0.2452 120 11/11/2026
11.0.2451 146 11/11/2026
11.0.2450 101 11/11/2026
11.0.2449 149 11/11/2026
11.0.2448 111 11/11/2026
11.0.2447 101 11/11/2026
11.0.2446 275 11/3/2026
11.0.2445 122 11/3/2026
11.0.2444 139 11/3/2026
11.0.2443 107 11/3/2026
11.0.2442 161 11/3/2026
Loading failed

Update dependency Soenneker.Blob.Container to 11.0.3075 (#3241)