Allow hooks into the RoleEnvironment to override constructino of RoleEntryPoint to facilitate IOC
The WCF team gave us hooks to override service creation so its an acceptable MS practise. It seems to me that RoleEnvironment is responsible for instantiation of the RoleEntryPoint classes, but there are no hooks provided currently:
I've looked at the code for RoleEnvironment and I don't think it would be too hard to allow us to supply a custom RoleEntryPointFactory to override a default. Currently there are work arounds but would be good if the containers "just worked".