Delayed Dependency Resolution the Right Way

I have been playing around with CQRS/Event Sourcing and using lightweight, immutable command messages to trigger actions in my application. The great thing about this is that you can specify a single point of entry into your application by using a very simple interface. public interface IApplication { void Execute<T>(T command) where T : ICommand; } This means that every time you want to expose a new actionable feature, you just provide the client with a simple command
- Delayed Dependency Resolution the Right Way

Read more