Search Results: “ioc”

31 results were found.

Validate your conventions

I’m a big proponent of the whole Convention over configuration idea. I give up some meticulous control over plumbing of my code, and by virtue of adhering to conventions the code just finds its way into the right place. With great power comes great responsibility, as someone once said. You may give up direct control […]

Book review – ASP.NET MVC in Action

ASP.Net MVC in Action As some of you know, I’m not a web developer. I had a short affair with webforms, which ended… quickly leaving bad taste in my mouth. However it’s hard to ignore positive buzz around Microsoft’s “other” framework for building web applications – namely ASP.NET MVC. Especially it’s hard to ignore that […]

Castle Typed Factory Facility reborn

Disclaimer: Notice that code shown here is quite new and is subject to change. If you’re reading this and it’s 2010 it’s likely that the code now is slightly different. I may come back and revisit the post if there are any changes, but don’t hold my word on it. Pulling from the container General […]

Book review – The Seed of Hope

The Seed of Hope (Talent Tree) I used to be a big fan of fantasy and science fiction books back in a day. I read a ton of books by David Eddings, Mercedes Lackey, R. A. Salvatore, Janusz A. Zajdel and countless other authors. I’m still completing my collection of Discworld books, and trying to […]

Solving a programming puzzle

My fellow devlicio.us blogger Tim Barcz posted an interesting problem to solve. I think it’s fun, so I decided to give it a try. Now, I don’t know enough context to solve it for just about any case (and I don’t think that’s even possible), so I made a few assumptions. The strings we’re gonna […]

WCF client proxy with Castle Dynamic Proxy

I’ve been doing a lot of work with WCF lately. It’s a great framework, and I really like it, but it has its drawbacks. First of all, it is overly complicated in certain places (security!), which makes it really hard to use sometimes. Its sheer size, makes it also hard to grasp. It has a […]

Comparing execution speed of .NET dynamic proxy frameworks

A recent comment on Twitter from Tim Barcz started me thinking about alternative proxy frameworks (alternative to Castle Dynamic Proxy that is). Recently LinFu Dynamic Proxy started gaining some popularity, after it was included as one of standard bytecode providers in NHibernate. Disclaimer: To make things clear. I’m a long time user of Castle Dynamic […]

Unity framework and the Principle of the Least Surprise

I don’t like the Unity Inversion of Control framework. I find it too verbose, requiring user to be too explicit (except for cases where it doesn’t while it should), not intuitive and I generally don’t like its design. Unfortunately, it’s the only IoC framework I’m allowed to used at work, so I’m stuck with it, good […]

MEF is not a dependency injection framework

Part of a project I’m working on, has strong extensibility requirements, so for last two days I’ve been working on a proof of concept prototype for it, using MEF. Not only do we need plug-ins, but also there will be at least two client applications using them (one in WPF, and the other one in […]

ALT.NET for dummies

ALT.NET is a wonderful movement. It’s a bunch of very smart and open minded people valuing good practices and using common set of tools. It’s discussion group is a great place to share ideas and ask for tips and help. It’s all great, however there’s one thing that bothers me. The site says: We are […]