Soenneker.Blob.Fetch 11.0.2453

Prefix Reserved
dotnet add package Soenneker.Blob.Fetch --version 11.0.2453
                    
NuGet\Install-Package Soenneker.Blob.Fetch -Version 11.0.2453
                    
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.2453" />
                    
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.2453" />
                    
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.2453
                    
#r "nuget: Soenneker.Blob.Fetch, 11.0.2453"
                    
#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.2453
                    
#: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.2453
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blob.Fetch&version=11.0.2453
                    
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.2453 83 11/11/2026
11.0.2452 64 11/11/2026
11.0.2451 81 11/11/2026
11.0.2450 58 11/11/2026
11.0.2449 85 11/11/2026
11.0.2448 63 11/11/2026
11.0.2447 50 11/11/2026
11.0.2446 253 11/3/2026
11.0.2445 115 11/3/2026
11.0.2444 132 11/3/2026
11.0.2443 98 11/3/2026
11.0.2442 153 11/3/2026
11.0.2441 222 10/27/2026
11.0.2440 116 10/27/2026
11.0.2439 163 10/27/2026
11.0.2438 114 10/26/2026
11.0.2437 118 10/26/2026
11.0.2436 113 10/26/2026
11.0.2435 141 10/26/2026
11.0.2434 100 10/26/2026
Loading failed

Updated Multiple NuGet packages