Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laget-se/laget.azure.enqueuer
Takes the hassle out of enqueueing simple string messages on an Azure Queue...
https://github.com/laget-se/laget.azure.enqueuer
azure nuget queue
Last synced: about 1 month ago
JSON representation
Takes the hassle out of enqueueing simple string messages on an Azure Queue...
- Host: GitHub
- URL: https://github.com/laget-se/laget.azure.enqueuer
- Owner: laget-se
- License: apache-2.0
- Created: 2020-12-09T06:55:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-22T06:44:11.000Z (3 months ago)
- Last Synced: 2024-10-23T09:40:26.392Z (3 months ago)
- Topics: azure, nuget, queue
- Language: C#
- Homepage:
- Size: 92.8 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# laget.Azure.Enqueuer
Takes the hassle out of enqueueing simple string messages on an Azure Queue.Great when you only need to push a simle string, or a dynamic object on a queue, and then forget about it.
![Nuget](https://img.shields.io/nuget/v/laget.Azure.Enqueuer)
![Nuget](https://img.shields.io/nuget/dt/laget.Azure.Enqueuer)## Usage
```c#
var enqueuer = new laget.Azure.Enqueuer(connectionString);
``````c#
var enqueuer = new laget.Azure.Enqueuer(connectionString, queueName);
``````c#
var enqueuer = new laget.Azure.Enqueuer(connectionString, new QueueClientOptions());
```#### Using-block
```c#
using(var enqueuer = new laget.Azure.Enqueuer(connectionString)) {
}
``````c#
using(var enqueuer = new laget.Azure.Enqueuer(connectionString, queueName)) {
}
``````c#
using(var enqueuer = new laget.Azure.Enqueuer(connectionString, new QueueClientOptions())) {
}
```### Methods
```c#
void Enqueue(dynamic payload);
Task EnqueueAsync(dynamic payload);
void Enqueue(string payload);
Task EnqueueAsync(string payload);
```