dependency injection

  1. A

    UnityContainerExtension in Mirosoft.DependencyInjection?

    Hi I am converting my code from unity to Mirosoft.DependencyInjection and I am facing some errors what is the alternate for UnityContainerExtension in Mirosoft.DependencyInjection as it is used in unity alternate for :- _container.RegisterType<TInterface, TImplementation>(name...
  2. D

    Question persist object data in C# .net core without static keyword or session

    I am trying to make a object that would suppose to persist data like Name, Standard etc. Once I get the data from db i want to store it to object and want to use it application wide, i tried with DI, but data is not persist, it becomes null.
Top Bottom