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

Enviri JD for BI

  Job Description: Experience working closely with business users/leaders. Well-versed in requirement gathering and can lead business users ...