CasCap.Api.Azure.ContainerRegistry 2.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package CasCap.Api.Azure.ContainerRegistry --version 2.0.0
                    
NuGet\Install-Package CasCap.Api.Azure.ContainerRegistry -Version 2.0.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.0.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.0.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.0.0
                    
#r "nuget: CasCap.Api.Azure.ContainerRegistry, 2.0.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.0.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.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CasCap.Api.Azure.ContainerRegistry&version=2.0.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 net8.0, net9.0 and net10.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 net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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. 
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 102 11/14/2026
2.0.0 109 11/5/2026
1.8.0 112 11/1/2026
1.7.1 120 10/24/2026
1.7.0 114 10/21/2026
1.6.4 121 10/4/2026
1.6.3 120 9/25/2026
1.6.2 126 9/23/2026
1.6.1 127 9/21/2026
1.6.0 117 9/19/2026
1.5.5 122 9/11/2026
1.5.4 121 9/1/2026
1.5.3 136 8/18/2026
1.5.2 147 7/15/2026
1.5.1 151 6/26/2026
1.5.0 154 6/12/2026
1.4.13 142 6/10/2026
1.4.12 156 5/27/2026
1.4.11 150 5/26/2026
1.4.10 136 5/21/2026
Loading failed