We can see the different values of Guids.
Request 1 :
Request 2:
The conclusion is the following:
- Transient: Objects are always different; a new instance is provided to every controller and every service
- Scoped: Objects are the same within a request, but different across different requests
- Singleton: Objects are the same for every object and every request
- Instance: Objects are the same for every object and every request, and are the exact instance which were specified in the code