AzLocal.Core 0.1.0-alpha.2

This is a prerelease version of AzLocal.Core.
dotnet add package AzLocal.Core --version 0.1.0-alpha.2
                    
NuGet\Install-Package AzLocal.Core -Version 0.1.0-alpha.2
                    
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="AzLocal.Core" Version="0.1.0-alpha.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AzLocal.Core" Version="0.1.0-alpha.2" />
                    
Directory.Packages.props
<PackageReference Include="AzLocal.Core" />
                    
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 AzLocal.Core --version 0.1.0-alpha.2
                    
#r "nuget: AzLocal.Core, 0.1.0-alpha.2"
                    
#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 AzLocal.Core@0.1.0-alpha.2
                    
#: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=AzLocal.Core&version=0.1.0-alpha.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=AzLocal.Core&version=0.1.0-alpha.2&prerelease
                    
Install as a Cake Tool

azlocal logo

azlocal

A local Azure emulator for .NET development and testing. Use the official Azure SDKs without an Azure subscription.

Requires the .NET 10 SDK. Supports Blob Storage, Key Vault secrets, Service Bus queues, resource groups, and local managed identity tokens. See supported operations for API coverage.

Installation

Add the client library to your application project:

dotnet add package AzLocal.Client --version 0.1.0-alpha.1

The client installs AzLocal.Core automatically. Version 0.1.0-alpha.1 is a prerelease.

AzLocal.Client configures Azure SDK clients in your application. The emulator server runs separately in Docker.

Usage

Register the clients in an ASP.NET Core application's Program.cs:

using AzLocal.Client;

var builder = WebApplication.CreateBuilder(args);
builder.Services.AddAzLocal(options =>
{
    options.BaseUrl = "https://127.0.0.1:4566";
    options.BlobAccountName = "myaccount";
    options.BlobContainerName = "uploads";
    options.KeyVaultName = "myvault";
    options.ServiceBusQueueName = "myqueue";
});

var app = builder.Build();
app.Run();

Inject BlobContainerClient, SecretClient, ServiceBusSender, or ServiceBusReceiver into your application services. SDK clients are singletons; your services can be scoped or transient. Usage examples show operations for each service.

Emulator server

Start the emulator separately before your application or tests make requests. The default endpoints are HTTPS at https://127.0.0.1:4566 and AMQP at 127.0.0.1:5672. Match BaseUrl and AmqpPort to the running server.

Run the server with Docker Compose. The Docker guide covers building locally, published image tags, certificates, and persistent volumes. The older NuGet-only alpha has no matching Docker image.

For Docker, export and trust or pin the container's public certificate before SDK calls. It is separate from the host's development certificate. See Docker HTTPS setup.

For environments blocking native application DLLs, see running applications/tests in containers.

Documentation

MIT licensed. Independent of Microsoft; intended for local development and testing.

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AzLocal.Core:

Package Downloads
AzLocal.Client

Dependency injection registration and official Azure SDK clients configured for the azlocal local emulator.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.2 44 10/12/2026
0.1.0-alpha.1 54 10/11/2026