...
Code Block |
---|
"AzureServiceBus": { "ConnectionString": "#{ServiceBusConnectionString}#", "TopicName": "#{DefaultTopicName}#", "Subscription": "#{DefaultSubscriptionName}#", "SubscriptionToTopics": { "subscription1": "#{Topics1}#", "subscription2”: "#{Topics2}#" }, "FailedRetryCount": 10, "FailedRetryInterval": 60 }, "ConnectionStrings": { "PostgreSql": "#{EDACAPConnectionStringPostgreSql}#" } |
Please note, all connectionString and Topics are based on your instance of Service Bus implementation which can be located under your instance of Service Bus/Shared Access Policies.
...
After adding those settings into appsettings, we need to use those values in ConfigureServices in startup.cs during services configuration as following:
...