Cesar de la Torre

Principal Program Manager at the Azure team.

Comparing ASP.NET Core IoC container service lifetimes with Autofac IoC container instance scopes

(image) In ASP.NET Core you can use the simple built-in IoC container or you can also plug any other more advanced IoC container like Autofac. When plugin an external container like Autofac, you can still use ASP.NET Core methods like services.AddTransient<> or services.AddSingleton<> or you can also use the more granular methods ...