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
<PackageReference Include="CasCap.Api.Azure.ContainerRegistry" Version="2.1.0" />
<PackageVersion Include="CasCap.Api.Azure.ContainerRegistry" Version="2.1.0" />
<PackageReference Include="CasCap.Api.Azure.ContainerRegistry" />
paket add CasCap.Api.Azure.ContainerRegistry --version 2.1.0
#r "nuget: CasCap.Api.Azure.ContainerRegistry, 2.1.0"
#:package CasCap.Api.Azure.ContainerRegistry@2.1.0
#addin nuget:?package=CasCap.Api.Azure.ContainerRegistry&version=2.1.0
#tool nuget:?package=CasCap.Api.Azure.ContainerRegistry&version=2.1.0
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 | Versions 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. |
-
net10.0
- Azure.Containers.ContainerRegistry (>= 1.4.0)
- Azure.Identity (>= 1.21.0)
- CasCap.Common.Extensions (>= 5.2.0)
- CasCap.Common.Logging (>= 5.2.0)
-
net11.0
- Azure.Containers.ContainerRegistry (>= 1.4.0)
- Azure.Identity (>= 1.21.0)
- CasCap.Common.Extensions (>= 5.2.0)
- CasCap.Common.Logging (>= 5.2.0)
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 |