Thursday, January 6, 2022

Dependency Injection in .net core 5

There are three of dependency injection executer, we will she their life time cycle

1. Scoped  > It does not go to life time

2. Transient >  It does not go to life time

3. Singleton > It goes to life time




https://www.youtube.com/watch?v=0x2KW-dJDQU


https://www.youtube.com/watch?v=3nnESO6I3iE

 


No comments:

Post a Comment

Raw Insert query in EF8 or Entity Framwork 8

          public async Task<object> InsertRack(Rack RackInsert)         {             try             {                 sql = " i...