Mossharbor.AzureWorkArounds.ServiceBus
1.0.20
Install-Package Mossharbor.AzureWorkArounds.ServiceBus -Version 1.0.20
dotnet add package Mossharbor.AzureWorkArounds.ServiceBus --version 1.0.20
<PackageReference Include="Mossharbor.AzureWorkArounds.ServiceBus" Version="1.0.20" />
paket add Mossharbor.AzureWorkArounds.ServiceBus --version 1.0.20
#r "nuget: Mossharbor.AzureWorkArounds.ServiceBus, 1.0.20"
// Install Mossharbor.AzureWorkArounds.ServiceBus as a Cake Addin
#addin nuget:?package=Mossharbor.AzureWorkArounds.ServiceBus&version=1.0.20
// Install Mossharbor.AzureWorkArounds.ServiceBus as a Cake Tool
#tool nuget:?package=Mossharbor.AzureWorkArounds.ServiceBus&version=1.0.20
Mossharbor.AzureWorkArounds.ServiceBus
The last version of the Azure Service Bus Api's (Microsoft.Azure.ServiceBus) are missing functionality that used to exist in the non-dotnet core libaries (mainly WindowsAzure.ServiceBus).
This missing functionality involves the CRUD operations on Azure Queue's/Topics/Subscriptions and Event Hubs.
This library adds those operations back in a donet standard 2.0 compatible library.
you can see a discussion of the issue here
Install the nuget package: Install-Package Mossharbor.AzureWorkArounds.ServiceBus
Example:
string name = "testSubscription";
string topicName = "testTopicSubscription";
NamespaceManager ns = NamespaceManager.CreateFromConnectionString(serviceBusConnectionString);
TopicDescription tdescription = ns.CreateTopic(topicName);
SubscriptionDescription sdescription = ns.CreateSubscription(topicName, "testSubscription");
if (!ns.SubscriptionExists(topicName, name, out sdescription))
Assert.Fail("Subscription did not exist");
else
{
Assert.IsTrue(null != sdescription);
ns.DeleteSubscription(topicName, name);
if (ns.SubscriptionExists(topicName, name, out sdescription))
Assert.Fail("Subscription was not deleted");
ns.DeleteTopic(topicName);
if (ns.TopicExists(name, out tdescription))
Assert.Fail("Topic was not deleted");
}
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
This package has no dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Mossharbor.AzureWorkArounds.ServiceBus:
Package | Downloads |
---|---|
PipServices3.Azure
Azure components for Pip.Services in .NET |
|
DocWorks.Common.SEDAEvents.AzureServiceBus
This package adds support for azure service bus to SedaEvents. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.20 | 171,182 | 6/17/2018 |
1.0.19 | 2,940 | 6/6/2018 |
1.0.18 | 664 | 6/5/2018 |
1.0.17 | 801 | 6/5/2018 |
1.0.16 | 827 | 5/31/2018 |
1.0.15 | 732 | 5/30/2018 |
1.0.14 | 606 | 5/23/2018 |
1.0.13 | 780 | 5/21/2018 |
1.0.11 | 667 | 5/18/2018 |
1.0.10 | 725 | 5/17/2018 |
1.0.9 | 643 | 5/17/2018 |
1.0.8 | 640 | 5/17/2018 |
1.0.7 | 594 | 5/16/2018 |
1.0.6 | 9,202 | 5/11/2018 |
1.0.5 | 663 | 5/10/2018 |
1.0.4 | 635 | 5/10/2018 |
1.0.3 | 691 | 5/9/2018 |
1.0.2 | 636 | 5/8/2018 |
1.0.1 | 735 | 5/2/2018 |
1.0.0 | 682 | 5/2/2018 |
Fixed CreateAt and UpdatedAt to have the correct date/times associated with them