avatar
فرشاد

کاربر

  • 1402/07/09
  • 0
  • 122
1402/07/09 |
backend
asp-net-core

سلام من آموزش خریدم بودم asp background task

System.AggregateException: 'Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Microsoft.Extensions.Hosting.IHostedService Lifetime: Singleton ImplementationType: MarketPlace.Web.BackGroundTasks.ZeroingTheVisitorPercentageBackGroundTask': Cannot consume scoped service 'MarketPlace.Application.Services.Interfaces.IVisitorService' from singleton 'Microsoft.Extensions.Hosting.IHostedService'.)'

 

InvalidOperationException: Cannot consume scoped service 'MarketPlace.Application.Services.Interfaces.IVisitorService' from singleton 'Microsoft.Extensions.Hosting.IHostedService'.



پاسخی برای این باگ ارسال کنید

لطفا کدها را درون قطعه کد ارسال نمایید

برای ارسال پاسخ باید وارد حساب کاربری خود شوید
ورود به حساب کاربری