Category Archives: ioc
CompactContainer rebump
Almost a year ago I did some experimentation with porting Castle Windsor to be used under the .NET Compact Framework, and while I got it done (excluding several features; mainly everything that has to do with proxys), it was clear that its implementation was not though to be used in a resource-constrained environment. Windsor has [...]
Rich-client NHibernate session management
I’ve been struggling with this subject for quite some time now, and I’ve just seem to found the ‘sweet spot’. Before we start, I need to describe some facts about the target application: rich-client: this approach will work the same for a Winform application as for a WPF application. multi-screen UI: it could be multi-form [...]
CompactContainer new features
Last week I’ve found this post, in which Jeff Doolittle made an analysis of some alternatives about using dependency injection with the .NET Compact Framework. As I’ve faced the same decision some time ago and ended rolling out my own solution, I pointed him to CompactContainer. Apparently he likes the project but needs some features [...]
Custom Windsor lifestyle: ResolutionContextLifestyleManager
UPDATED 27/11/2011: New implementation here For reasons that will become clear in a future post (or later in this one), I needed to implement a custom lifestyle for Microkernel/Windsor. The required behavior was to propagate an instance of a component through the whole resolution chain but no further. Let me explain it a little better. [...]
Inversion of Control container on .NET Compact Framework
Once upon a time I started to write an ambitiuos embedded application… I had very little knowledge about .NET, Design Patterns, TDD, DDD and all those cool things at that time. My application grew over time and suddenly it became an unmaintainable monster. It was composed of a big web of interrelated components each of [...]