Since the repository was injected once through constructor injection, the loop used the same instance. 💡 **Key takeaway** Transient ≠ New object per method call Transient = New object per DI ...
Get practical tips on .NET, ASP.NET Core, EF Core, AI, and software architecture delivered every week. 👉 https://lnkd.in/gBXTySEz ♻️ If this was helpful, consider reposting to help other developers ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results