Mossharbor.AzureWorkArounds.ServiceBus 1.0.20

Implementations of missing dotnet core Azure Service Bus NamespaceManager functionality around Topics/Subscriptions, Relays, Hybrid Connections and EventHubs.

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" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mossharbor.AzureWorkArounds.ServiceBus --version 1.0.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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");
}

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");
}

Release Notes

Fixed CreateAt and UpdatedAt to have the correct date/times associated with them

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.20 43,066 6/17/2018
1.0.19 1,851 6/6/2018
1.0.18 274 6/5/2018
1.0.17 434 6/5/2018
1.0.16 336 5/31/2018
1.0.15 310 5/30/2018
1.0.14 257 5/23/2018
1.0.13 410 5/21/2018
1.0.11 303 5/18/2018
1.0.10 318 5/17/2018
1.0.9 255 5/17/2018
1.0.8 268 5/17/2018
1.0.7 208 5/16/2018
1.0.6 5,603 5/11/2018
1.0.5 267 5/10/2018
1.0.4 252 5/10/2018
1.0.3 305 5/9/2018
1.0.2 261 5/8/2018
1.0.1 321 5/2/2018
1.0.0 241 5/2/2018