I have an open issue on exactly what to put there in order to fix our "Disposed" issue,
In this case, reading about the issue this (ToConstant().InTransientScope()) is supposed to be the way of preventing the dispose (although currently not really working).

http://stackoverflow.com/questions/15121708/object-being-disposed-when-resolving-via-toconstant-but-not-when-resolving-via-t