Closed
Description
We need to have a way to call lazily Startup
classes after lazy loading.
I don't have a full idea on how this will work but I would maintain 2 actions:
- Configure - adds services to IServiceCollection
- Initialize - after configuring, it initializes the services (if extra steps are required)
Configure should be called on all the dependencies in the same order as they are loaded into memory.
Initialize should be called after ALL assemblies have been configured, not sure about the order.