PreviousNext

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

by bill-s, 2019-03-25T07:01:50.353Z

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 based on its instance scopes, which offer a larger set of possibilities.

Read More