Skip to content

Instantly share code, notes, and snippets.

@NeelBhatt
Created Jun 10, 2020
Embed
What would you like to do?
services.AddSingleton<ISingletonOperation, SingletonOperation>();
services.AddTransient<ITransientOperation, TransientOperation>();
services.AddScoped<IScopedOperation, ScopedOperation>();
services.AddTransient<IMyService, MyService>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment