Purview.Containers.Azurite
1.0.0-prerelease.5
dotnet add package Purview.Containers.Azurite --version 1.0.0-prerelease.5
NuGet\Install-Package Purview.Containers.Azurite -Version 1.0.0-prerelease.5
<PackageReference Include="Purview.Containers.Azurite" Version="1.0.0-prerelease.5" />
<PackageVersion Include="Purview.Containers.Azurite" Version="1.0.0-prerelease.5" />
<PackageReference Include="Purview.Containers.Azurite" />
paket add Purview.Containers.Azurite --version 1.0.0-prerelease.5
#r "nuget: Purview.Containers.Azurite, 1.0.0-prerelease.5"
#:package Purview.Containers.Azurite@1.0.0-prerelease.5
#addin nuget:?package=Purview.Containers.Azurite&version=1.0.0-prerelease.5&prerelease
#tool nuget:?package=Purview.Containers.Azurite&version=1.0.0-prerelease.5&prerelease
Purview.Containers.Azurite
Throwaway Azurite (Azure Storage emulator) instances for .NET integration testing on WSL Containers (WSLC) or Docker.
dotnet add package Purview.Containers.Azurite
Backend-neutral: depends on Purview.Containers.Core and needs a backend package (Purview.Containers.Wsl or Purview.Containers.Docker).
See the Getting Started guide.
Requirements
- WSL Containers backend: Windows 10/11 with WSL Containers (
wsl --install --no-distribution), and a.NET 10or later project. A platform-neutralnet10.0project binds the portable facade and gets automatic WSLC-or-Docker selection; a Windows target framework (net10.0-windows10.0.19041.0, x64 or arm64) binds the implementation directly. ThePurview.Containers.Wslpackage suppliesbuildTransitivedefaults forWindowsSdkPackageVersion/PlatformTargetand (for a platform-neutral consumer on a Windows build host) the implementation payload, rejecting an unsupported consumer withPCC0001/PCC0002— see the consumer requirements. - Docker backend: any reachable Docker daemon (
docker info), with anet10.0or later project on any platform. No Windows target framework and noPCCguards apply. - Experimental: the API, defaults and packaging can change between prereleases; there is no production support guarantee.
Quick start
using Purview.Containers.Azurite;
await using var azurite = new AzuriteBuilder().Build();
await azurite.StartAsync(); // waits for the blob/queue/table listeners
Uri blob = azurite.GetBlobEndpoint();
string connectionString = azurite.GetConnectionString();
API
| Member | Purpose |
|---|---|
AzuriteBuilder() / AzuriteBuilder(string image) |
Default image mcr.microsoft.com/azure-storage/azurite, or a custom image. |
AzuriteBuilder.BlobPort (10000), QueuePort (10001), TablePort (10002) |
Container service ports; all three are mapped to random host ports. |
AzuriteContainer.GetBlobEndpoint(), GetQueueEndpoint(), GetTableEndpoint() |
Service endpoints (http://127.0.0.1:{mappedPort}/devstoreaccount1). |
AzuriteContainer.GetConnectionString() |
Azure Storage connection string for the emulator. |
AzuriteAccount.Name |
The well-known account name devstoreaccount1. |
The container starts Azurite with --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 and waits
for the successfully listening log signal. Endpoints and the connection string are only meaningful after
StartAsync() because they resolve the mapped host ports.
Account key
The well-known devstoreaccount1 key is a published constant of the emulator, but this library does not
embed it: AzuriteAccount.Key holds a placeholder. Supply the real key in your test infrastructure before
exercising authenticated operations (anonymous/local development paths are unaffected when the client does
not require the key). See Modules
for the module contract.
| 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. |
-
net10.0
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.10.0)
- Purview.Containers.Core (>= 1.0.0-prerelease.5)
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 |
|---|---|---|
| 1.0.0-prerelease.5 | 35 | 10/2/2026 |
| 1.0.0-prerelease.4 | 38 | 10/2/2026 |
| 1.0.0-prerelease.3 | 34 | 10/2/2026 |
| 1.0.0-prerelease.2 | 32 | 10/1/2026 |