What is the best way to configure structuremap to instantiate a different class depending on the lifecycle..
e.g. for IUser, when it is HTTP context, I want to instantiate a User class, if there is no Http context I want structuremap to instantiate a ServiceUser class?