Ninject Object Scopes
If you want to set a specific resolution to:
- Per Request
Details on the Ninject Github wiki
How to Use Ninject Object Scopes
Add one of the commands to the end of your bind code, below. For example:
New instance of the type will be created each time one is requested. (default)
Single instance of the type will be created, and the same instance will be returned for each subsequent request.
One instance of the type will be created for each Web Request.