Audacia.Azure.StorageQueue 2.0.0

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

Audacia.Azure.QueueStorage

How to use

Setting Up an Azure Storage Account

  1. Sign in to the Azure Portal:

    • Open your web browser and go to the Azure Portal.
    • Sign in with your Azure account credentials.
  2. Create a Storage Account:

    • In the Azure Portal, select Create a resource from the left-hand menu.
    • Search for Storage account in the search bar and select Storage account - blob, file, table, queue.
    • Click Create to begin the storage account creation process.
  3. Configure Storage Account Settings:

    • Under the Basics tab:
      • Subscription: Select the appropriate subscription.
      • Resource Group: Select an existing resource group or create a new one.
      • Storage Account Name: Enter a unique name for your storage account (e.g., mystorageaccount). This name must be globally unique, use only lowercase letters and numbers, and be between 3 and 24 characters long.
      • Region: Choose a region closest to your users.
      • Performance: Choose either Standard or Premium based on your performance needs.
      • Redundancy: Choose a redundancy option (e.g., Locally-redundant storage (LRS), Geo-redundant storage (GRS)).
    • Click Next: Networking to continue.
  4. Configure Networking, Data Protection, and Advanced Settings:

    • Leave the default options or configure them according to your requirements.
    • Click Review + Create after filling in all necessary details.
    • Click Create to deploy your storage account.
  5. Access the Storage Account:

    • Once the deployment is complete, navigate to open your newly created storage account.
  6. Get the Storage Account Name and Access Key:

    • In the storage account page, navigate to Settings > Access keys.
    • You will see two access keys (key1 and key2) and their associated Connection strings.
    • Note down the Storage Account Name and Access Key (copy key1 or key2).
  7. Configure Connection Information:

    • Use and enter the following information within your application configuration to connect to your Azure hosted storage account:
     {
         "Azure": {
             "QueueStorageConfig": {
                 "AccountName": "", //Storage Account Name set within step 3.
                 "AccountKey": "", //Access Key from step 6.
                 "QueueEndpoint": "" //Leave empty when using Azure hosted Storage Account
             }
         }
     }
    
Example:
  • Storage Account Name: mystorageaccount
  • Access Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  1. Save Your Access Information Securely:
    • Save your Storage Account Name and Access Key securely. This information will be required to connect to your storage account via the Audacia.Azure library.

Note: Treat the access key like a password. Do not share it publicly and store it in a secure location.


Setting Up a Local Azure Storage Account

To simulate Azure Storage services on your local machine, you can use Azurite, an open-source emulator for Azure Storage. This is useful for development and testing purposes.

Step-by-Step Guide to Set Up a Local Storage Account
  1. Install Azurite:

    • Azurite is available as an npm package. You need to have Node.js installed on your machine. If you don't have Node.js, download and install it from the Node.js Official Site.
    • Open your terminal or command prompt and run the following command to install Azurite globally:
      "npm install -g azurite"
  2. Start Azurite:

    • After installing Azurite, start the Azurite server by running the following command:
      "azurite --silent --location c:\azurite --debug c:\azurite\debug.log"
      • Data Persistence: By default, Docker containers are ephemeral, which means any data stored inside them is lost when the container is stopped or deleted. Specifying a local path ensures that your data persists beyond the lifecycle of the container.
      • Development and Debugging: Storing Azurite data locally makes it easier to view and manipulate the files directly, which can be helpful for debugging or data inspection during development.
    • By default, Azurite will start listening for:
      • Blob service on "http://127.0.0.1:10000"
      • Queue service on "http://127.0.0.1:10001"
      • Table service on "http://127.0.0.1:10002"
  3. Verify the Azurite Installation:

    • To ensure Azurite is running correctly, you can use a tool like Azure Storage Explorer to manage and view.
  4. Configure Connection Information:

    • Using a tool like Azure Storage Explorer you can view the information required for your application config when using this package.

    • Use and enter the following information within your application configuration to connect to your local Azurite storage:

     {
         "Azure": {
             "QueueStorageConfig": {
                 "AccountName": "", //By default "devstoreaccount1", set when creating Azurite instance.
                 "AccountKey": "", //Found within ASE (Azure Storage Explorer) under the name "Primary Key"
                 "QueueEndpoint": "" //default is "http://127.0.0.1:10001/{Account Name}", otherwise found within ASE.
             }
         }
     }
    

Note: Azurite is designed for development and testing purposes only. It should not be used in a production environment.

Examples

Look in tools/Audacia.Azure.Demo for how to setup and use the each of the packages.

Look in Controllers/OrdersController for the queue storage implementation examples.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.0.0 130 5/11/2026
1.4.0 167 1/5/2026