Posts

.Net Core

  https://www.google.com/search?q=dotnet+core+interview+questions+in+detail+with+explanation&rlz=1CDGOYI_enIN1144IN1144&hl=en-GB&sourceid=chrome-mobile&ie=UTF-8&aep=47&cud=0&source=chrome.crn.rb&udm=50&mstk=AUtExfBuPINfJxf1Ylz9TM1Tats6FhCZ1jxXH3_Krrtdf_n-LaCrypH6spBl5vmh9_XOUb0sJiaiB3EOYTqI7cpuPSz2q6iEbrxlw-5iyLx1QomCan4fGivSI9Vl5UJEmYjX5UQq5n0sVCFKZR2zl4pngF8rNGqDnnTRZEA&csuir=1&mtid=5bphatyAPcyhnesPsZDdmAY Dependency Injection & Configuration What is Dependency Injection (DI)? It is a built-in technique for achieving Inversion of Control (IoC). It passes dependencies to classes instead of creating them inside. It improves code testability, maintainability, and loose coupling.  Explain the three service lifetimes in .NET Core DI. Transient : A new instance is created every time it is requested. Scoped : One instance is created per HTTP request lifecycle. Singleton : A single instance is created once and shared globally.  ...