Tuesday, March 31, 2020

In .NET Core's IoC you may use .AddScoped and .AddSingleton as you might .AddTransient.

Singleton is always the same and transient frequently changing. Scoped is the same per request per this which I take to mean session of web site browsing.

No comments:

Post a Comment