Skip to content

Instantly share code, notes, and snippets.

@ankitvijay
Created February 21, 2021 20:05
Embed
What would you like to do?
Register scoped Service Register Scoped Service
services.AddHostedService<SchedulerService>();
services.AddScoped<IScopedSchedulerService, ScopedSchedulerService>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment