I'm currently working on a small demo project for a dotnet console application using the generic hosting for logging and configuration. In the context ...
I'm currently working on a small demo project for a dotnet console application using the generic hosting for logging and configuration. In the context ...
I'm trying to set up the service registrations for my ihostedservice app and would like to pull in a connection string that is located in the key vaul ...
I have a website page that needs the option of performing an operation that could take several minutes. To avoid performance issues and time outs, I w ...
Suppose I have a number of IHostedService implementations with a ton of dependencies that no WebApi controllers do not have direct nor indirect depend ...
I have an IHostedService app in dotnet core 3.1, which is deployed on azure app service plan, but it needs to browse the app service to activate IHost ...
Why is OpenTelemetry .NET not adding a listener for my ActivitySource in a hosted service on generic host? I have some configurations to pass into Op ...
I’m trying to integrate Logging for .Net Worker Application (IHostedService) which is hosted on Azure App Service ( Linux App Service Plan) I followe ...
The question is quite simple, yet challenging. Normal service creation: Now, is it possible for WorkerB to get the "Instance" of WorkerA to Execut ...
I have an API which contains a HostedService that is built in VS2022 with .Net 6. When I run locally the service is called as expected and everything ...
What is the best way to block shutdown of a service while jobs finish? I have a few background services that listen for messages on a message bus and ...
Is it possible to add all IHostedService implemented classes in a loop without adding them individually in ASP.NET Core 6? Let's say we have this two ...
i'm trying to follow this example here the only thing is i need to inject multiple hosted services instead of one like this the implementation of ...
I'm creating an application using RabbitMQ.Client.Core.DependencyInjection as a consumer of messages in the BackgroundService. Receiving and deseriali ...
I am trying to implement database change notificaitons using SignalR in a web api. below is the code for NotificationService.cs And I am registerin ...
I am running a .NET Core web application on IIS which runs a web request every few minutes, this is working absolutely fine, the app checks the DB and ...
I have a job scheduled by Quartz in ASP.NET Core to run every 15 minutes. I want to run it initially (force Quartz to start now). I use the followin ...
My web app has to send some emails every 1,2,7 days based on some user generated data on my .NET 5 MVC web app. The app it's quite complex as it's 3 p ...
I'm building an app folowing DDD paterns with each AR having their events outbox saved to a permanent store. That store gets polled by other parts int ...
I have .net core 3.1 console application and I want to run it as a windows service, my program.cs looks like and the .csproj is but for RunAsSer ...
Context .NET 5 console application using the IHostedService pattern and EntityFramework Core 5. Issue The dbContext looks like this: The hostbui ...