Jan 26, 2017
0
0
Comparing ASP.NET Core IoC container service lifetimes with Autofac IoC container instance scopes
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 in Autofac ba...