Skip to content

fulfill3d/StorageQueueClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StorageQueueClient

StorageQueueClient is a library for interacting with Azure Storage Queues. It provides functionalities to send messages to storage queues and ensures reliable communication between distributed services.

Table of Contents

  1. Introduction
  2. Features
  3. Tech Stack
  4. Usage
  5. Configuration

Introduction

StorageQueueClient offers a straightforward way to work with Azure Storage Queues, allowing for easy message enqueueing. It's designed to simplify communication between distributed services, making it a valuable tool for decoupling and scaling applications.

Features

  • Send Messages: Send messages to Azure Storage Queues reliably.
  • Create Queues: Automatically create queues if they do not exist.
  • Queue Management: Manage Azure Storage Queues with ease.

Tech Stack

  • Backend: .NET 8
  • Queue Service: Azure Storage Queues
  • Dependency Injection: Used for service registrations and configurations

Usage

  1. Register the StorageQueueClient: Use the RegisterStorageQueueClient extension method to register the client in the dependency injection container.
  2. Configure the options: Set up StorageQueueClientOptions with the necessary configuration, including the connection string.
  3. Use the Client: Use the IStorageQueueClient interface to send messages to Azure Storage Queues.

Configuration

StorageQueueClientOptions

  • ConnectionString: The connection string to the Azure Storage account.
public class StorageQueueClientOptions
{
    public string ConnectionString { get; set; }
}

Dependency Injection Registration

To use the StorageQueueClient in your application, register it in the service container as shown below:

services.RegisterStorageQueueClient(options =>
{
    options.ConnectionString = "<your-connection-string>";
});

About

.NET Client for Azure Storage Queue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages