net9.0
namespace Aspire.Hosting
{
    public static class AzureServiceBusExtensions
    {
        [Obsolete("This method is obsolete and will be removed in a future version. Use WithTopic instead to add an Azure Service Bus Topic and Subscriptions.")]
        public static IResourceBuilder<AzureServiceBusResource!>! AddTopic(this IResourceBuilder<AzureServiceBusResource!>! builder, [ResourceName] string! name, string![]! subscriptions);
    }
}
.NET 8.09.0
Information specific to net9.0
Assemblies

Aspire.Hosting.Azure.ServiceBus , Version=9.1.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Aspire.Hosting.Azure.ServiceBus , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.Azure.ServiceBus.

Package Aspire.Hosting.Azure.ServiceBus (9.1.0-preview.1.25072.5) net8.0
Obsolete This method is obsolete and will be removed in a future version. Use WithTopic instead to add an Azure Service Bus Topic and Subscriptions.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

01/23/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙