Is it possible to register a service at run-time, meaning after the ContainerBuilder has been built and the Container has been created (and ContainerBuilder disposed of)?
Yes you can, using the Update method on ContainerBuilder:
var newBuilder = new ContainerBuilder(); newBuilder.Register...; newBuilder.Update(existingContainer);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With