I have to create a worker service in which some users are fetched from the database and each user is assigned a worker to do the particular task. So is this possible that I can assign workers dynamically to each user ?
My thoughts – Can I do something like in worker.cs when the StartAsync is called or the application is started it goes to database brings the user and then a for loop works which assign a instance of UserWorker.cs [UserWorker: BackgroundService] to each of the user.