OK so I've sort of sorted it.
Trying to get unity to construct this
public class ChannelFactory
{
private readonly IContainer _container;
public ChannelFactory(IContainer container)
{
_container = container;
}
...
was the problem. It wasn't able to resolve the IContainer for some reason (lack of understanding on my part rather than a failure of unity, btw).
Is it good practice or perhaps even necessary for the container to be in a static class?
Thx
S