Is there any reason to switch from the default scope (transient?) to something else, outside of needing to control the scope for functional reasons (e.g. Singleton)?
If I stick with the default scope, every default instance of every plugin type will effectively get instantiated on each request (assuming a web app), is that correct? Can this affect performance noticeably?
I've considered using Http Session scope to limit this to one instance per user logged in. However, that will result in (at least) one instance of each plugin type stored in memory for each user at all times. Using default scope, these instances would only be held in memory while a page request was being processed. I'm not sure which is preferable.
If you use StructureMap, how do you generally configure scope for each of your plugin types?
Thanks for any insight,
Phil