Thursday, 16 October 2025

Scoped vs transient vs singleton

 

Transient: every time new object instance created

scoped: once you refresh the service new instance created

singleton: once you restart the application then only new instance created.



No comments:

Post a Comment

HCL healthcare

 hcl health care f2f second round interview asked more uestions on microservice 1.apim manage all apis in one place 2.sql profiler in one fo...