How to configure MassTransit with AspireServiceBus #7432
huberttrueselftrueme
started this conversation in
General
Replies: 1 comment
-
Bumping as I'm interested in this issue too. Is there scope for MassTransit to accept a client within the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
In my Aspire project i have
var serviceBus = builder.ExecutionContext.IsPublishMode ? builder.AddAzureServiceBus(OrchestrationResources.ServiceBus) : builder.AddConnectionString(OrchestrationResources.ServiceBus);
For my local envirement it aspire appsetting.json i have
And then

Everything works.
But when i deploy to azure connection string changes to format https://~.servicebus.windows.net:443/ and application crash.
I am reading documentation i am lost how to do this. there is information that i should add builder.AddAzureServiceBusClient(ApplicationConstants.ConnectionStrings.ServiceBus); to get ServiceBusClient
but it give me nothing because there is no Host that accept this clinet.
The closed is :
Can any body help me with this ?
Beta Was this translation helpful? Give feedback.
All reactions