Wojciech Paszek

about software craftsmanship, architecture and much more ...

Autofac features you might not know

As promised we’re going to take a look at a few advanced Autofac’s features and reimplement a little bit example from previous post. First of all we need to update Application class by replacing Func delegate dependency with Autofac.Features.Indexed.IIndex<K, V> relationship type. It has become our new factory: All concrete strategy classes are registered using keyed services feature […]

Read more

Factory, Strategy and StructureMap

While implementing business requirements in our systems, very often there’s a need to add new behavior without breakng SOLID principles. It can be achieved by using strategy together with factory pattern. Let’s have a look at such example in hypothetical project with StructureMap DI container.   Strategy pattern implementation turns out to be fairly straighforward. We simply create two […]

Read more

3 2 1 Start!

Forrest Gump’s mother used to say: “Life was like a box of chocolates. You never know what you’re gonna get”. Here, I hope you’ll find valuable content regarding broadly defined software engineering. Enjoy 🙂

Read more