Add Service Bus Administration Client API
Open
area-integrations
azure
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
Today we expose a ServiceBus API for registering the `ServiceBusClient` in DI. But not one for registering the `ServiceBusAdministrationClient`. We should add an extension method for registering the admin client as well.
```diff
namespace Microsoft.Extensions.Hosting;
public static class AspireServiceBusExtensions
{
+ public static void AddAzureServiceBusAdministrationClient(
+ this IHostApplicationBuilder builder,
+ string connectionName,
+ Action? configureSettings = null,
+ Action>? configureClientBuilder = null)
```
Contributor guide
Assessment
This issue has not been assessed yet.