laget.Azure.ServiceBus
1.1.17
Prefix Reserved
Additional Details
Please note that this version is deprecated since Microsoft has deprecated Microsoft.Azure.ServiceBus as of November 2020.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package laget.Azure.ServiceBus --version 1.1.17
NuGet\Install-Package laget.Azure.ServiceBus -Version 1.1.17
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="laget.Azure.ServiceBus" Version="1.1.17" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add laget.Azure.ServiceBus --version 1.1.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: laget.Azure.ServiceBus, 1.1.17"
#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.
// Install laget.Azure.ServiceBus as a Cake Addin #addin nuget:?package=laget.Azure.ServiceBus&version=1.1.17 // Install laget.Azure.ServiceBus as a Cake Tool #tool nuget:?package=laget.Azure.ServiceBus&version=1.1.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
laget.Azure.ServiceBus
A generic implementation of Microsoft.Azure.ServiceBus, the next generation Azure Service Bus .NET Standard client library that focuses on queues & topics. For more information about Service Bus...
Usage
public class SomeClass : IHostedService
{
readonly TopicReceiver _receiver;
public SomeClass(IConfiguration configuration)
{
_receiver = new TopicReceiver(configuration.GetValue<string>("ServiceBus:Url")
.Replace("{name}", configuration.GetValue<string>("ServiceBus:QueueService:Name"))
.Replace("{key}", configuration.GetValue<string>("ServiceBus:QueueService:QueueKey")),
new TopicOptions
{
TopicName = "queue",
SubscriptionName = "queue-service",
ReceiveMode = ReceiveMode.PeekLock
});
}
public async Task StartAsync(CancellationToken ct)
{
await Task.Run(() =>
{
_receiver.Register((message, _) =>
{
var queue = message.Deserialize<QueueMessage>();
_handler.Handle(queue);
return Task.CompletedTask;
}, ExceptionHandler);
}, ct);
}
public Task StopAsync(CancellationToken cancellationToken)
{
return Task.CompletedTask;
}
Task ExceptionHandler(ExceptionReceivedEventArgs ex)
{
// Log here
return Task.CompletedTask;
}
}
Product | Versions 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. 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.
-
.NETStandard 2.0
- Azure.Storage.Blobs (>= 12.13.0)
- Microsoft.Azure.ServiceBus (>= 5.2.0)
- Newtonsoft.Json (>= 13.0.1)
-
.NETStandard 2.1
- Azure.Storage.Blobs (>= 12.13.0)
- Microsoft.Azure.ServiceBus (>= 5.2.0)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on laget.Azure.ServiceBus:
Package | Downloads |
---|---|
laget.Auditing
A simple framework to audit entities in .NET and .NET Core... |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
2.2.54 | 225 | 9/3/2024 | |
2.2.53 | 149 | 6/3/2024 | |
2.2.52 | 201 | 5/6/2024 | |
2.2.51 | 167 | 4/5/2024 | |
2.2.50 | 340 | 3/4/2024 | |
2.2.49 | 335 | 1/20/2024 | |
2.2.48 | 411 | 12/6/2023 | |
2.2.47 | 187 | 11/22/2023 | |
2.2.46 | 135 | 11/7/2023 | |
2.2.45 | 169 | 11/6/2023 | |
2.2.44 | 240 | 10/20/2023 | |
2.1.42 | 284 | 10/6/2023 | |
1.1.40 | 238 | 10/2/2023 | |
1.1.39 | 197 | 9/4/2023 | |
1.1.38 | 233 | 7/3/2023 | |
1.1.35 | 290 | 5/15/2023 | |
1.1.34 | 213 | 4/13/2023 | |
1.1.32 | 261 | 4/13/2023 | |
1.1.31 | 423 | 4/3/2023 | |
1.1.27 | 258 | 3/10/2023 | |
1.1.26 | 610 | 3/6/2023 | |
1.1.22 | 747 | 12/5/2022 | |
1.1.21 | 634 | 11/7/2022 | |
1.1.19 | 1,067 | 9/5/2022 | |
1.1.17 | 884 | 7/15/2022 | |
1.1.16 | 1,589 | 6/7/2022 | |
1.1.15 | 894 | 5/3/2022 | |
1.1.14 | 1,978 | 4/4/2022 | |
1.1.13 | 563 | 4/4/2022 | |
1.1.12 | 578 | 4/4/2022 | |
1.1.11 | 635 | 3/7/2022 | |
1.1.10 | 450 | 12/21/2021 | |
1.1.8 | 2,310 | 11/28/2021 | |
1.1.6 | 3,804 | 8/16/2021 | |
1.1.5 | 834 | 6/11/2021 | |
1.1.4 | 1,080 | 6/7/2021 | |
1.1.3 | 2,060 | 5/27/2021 | |
1.1.1 | 448 | 5/21/2021 | |
1.0.18 | 565 | 5/3/2021 | |
1.0.17 | 501 | 4/6/2021 | |
1.0.16 | 459 | 3/10/2021 | |
1.0.15 | 521 | 3/5/2021 | |
1.0.14 | 2,422 | 2/1/2021 | |
1.0.13 | 1,039 | 1/15/2021 | |
1.0.12 | 639 | 1/8/2021 | |
1.0.11 | 604 | 1/2/2021 | |
1.0.10 | 583 | 12/23/2020 | |
1.0.8 | 537 | 12/22/2020 | |
1.0.7 | 1,729 | 12/16/2020 | |
1.0.6 | 542 | 12/9/2020 | |
1.0.5 | 587 | 12/9/2020 |