How to configure MassTransit with AspireServiceBus #7432
huberttrueselftrueme
started this conversation in
General
Replies: 2 comments
-
|
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
-
|
Bumping it too have the same issue... i now just do a replace on https:// to a sb:// and set the Host.TokenCredentiails to get it too work. but is not what i expected too do. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
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