dependency injection

  1. 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