CasCap.Api.Azure.ContainerRegistry 2.1.0

Prefix Reserved
dotnet add package CasCap.Api.Azure.ContainerRegistry --version 2.1.0
                    
NuGet\Install-Package CasCap.Api.Azure.ContainerRegistry -Version 2.1.0
                    
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="CasCap.Api.Azure.ContainerRegistry" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CasCap.Api.Azure.ContainerRegistry" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="CasCap.Api.Azure.ContainerRegistry" />
                    
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 CasCap.Api.Azure.ContainerRegistry --version 2.1.0
                    
#r "nuget: CasCap.Api.Azure.ContainerRegistry, 2.1.0"
                    
#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 CasCap.Api.Azure.ContainerRegistry@2.1.0
                    
#: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=CasCap.Api.Azure.ContainerRegistry&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=CasCap.Api.Azure.ContainerRegistry&version=2.1.0
                    
Install as a Cake Tool

CasCap.Api.Azure.ContainerRegistry

An Azure Container Registry diagnostic base class for .NET applications. AcrServiceBase.ListRepos() enumerates repository names and manifest tags and writes them to the supplied logger; it does not return a repository collection or implement image push/pull.

Installation

Targets net10.0 and net11.0.

dotnet add package CasCap.Api.Azure.ContainerRegistry

Usage

Derive a concrete type and supply a registry URI, token credential and logger:

using Azure.Core;
using CasCap.Services;
using Microsoft.Extensions.Logging;

public sealed class RegistryInspector(
    ILogger<AcrServiceBase> logger, Uri endpoint, TokenCredential credential)
    : AcrServiceBase(logger, endpoint, credential)
{
}
var inspector = new RegistryInspector(logger, registryEndpoint, credential);
await inspector.ListRepos();

Each repository and its manifest tags are logged at Debug, followed by one Information summary with the repository count; enable Debug logging for the namespace to see the results. Manifests are requested in descending last-updated order. ListRepos() has no cancellation-token parameter.

Authentication

Use a credential authorized to enumerate repositories and read manifest metadata. Registry role requirements depend on its configured permissions mode; consult the Azure Container Registry roles guide. Do not enable these diagnostic logs where repository names or tags would disclose private metadata.

There is no options model or DI registration helper; the consuming application supplies constructor arguments and manages credential acquisition.

Documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0 52 11/14/2026
2.0.0 106 11/5/2026
1.8.0 105 11/1/2026
1.7.1 115 10/24/2026
1.7.0 109 10/21/2026
1.6.4 116 10/4/2026
1.6.3 116 9/25/2026
1.6.2 121 9/23/2026
1.6.1 121 9/21/2026
1.6.0 113 9/19/2026
1.5.5 114 9/11/2026
1.5.4 118 9/1/2026
1.5.3 135 8/18/2026
1.5.2 142 7/15/2026
1.5.1 147 6/26/2026
1.5.0 150 6/12/2026
1.4.13 137 6/10/2026
1.4.12 153 5/27/2026
1.4.11 142 5/26/2026
1.4.10 135 5/21/2026
Loading failed