Код: Выделить всё
Failed to apply configuration value 'ConnectionStrings__Messaging'. A dependency may have failed to start.Код: Выделить всё
Connection string parameter resource could not be used because connection string 'Messaging' is missing.В при запуске проекта, потребляющего компоненты, у меня есть следующие строки:
Код: Выделить всё
builder.AddAzureServiceBusClient("Messaging");Код: Выделить всё
"ConnectionStrings": { "Messaging": "Endpoint=sb://somenamespace.servicebus.windows.net/;SharedAccessKeyName=Manage;SharedAccessKey=someaccesskey;EntityPath=topic1"},
Код: Выделить всё
var serviceBus = builder.AddConnectionString("Messaging");
builder.AddProject("notificationservice").WithReference(serviceBus);
Подробнее здесь: https://stackoverflow.com/questions/784 ... -component
Мобильная версия