Chcę korzystać z KSeF w BackgroundService. Jak się zrobi "na wprost", to jest taki efekt:
Cannot consume scoped service 'KSeF.Client.Core.Interfaces.Clients.IKSeFClient' from singleton 'Microsoft.Extensions.Hosting.IHostedService'.)'
Jest na to rada bez rzeźbienia?
K
Chcę korzystać z KSeF w BackgroundService. Jak się zrobi "na wprost", to jest taki efekt:
Cannot consume scoped service 'KSeF.Client.Core.Interfaces.Clients.IKSeFClient' from singleton 'Microsoft.Extensions.Hosting.IHostedService'.)'
Jest na to rada bez rzeźbienia?
K