unity-application-block

Dependency Injection for Windows Phone 7

I was trying to use Unity 2.0 beta 2 for Silverlight in my Windows Phone 7 project and I kept getting this crash: Microsoft.Practices.Unity.Silverlight.dll!Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.DynamicMethodConstructorStrategy() + 0x1f bytes Microsoft.Practices.Unity.Silverlight.dll!Microsoft.Practices...

Dependency injection with Unity Application Block

Hi, I am trying to learn about dependency injection and i'm using the unity application block to help. What I want to do is, have a console app that will register a class (as long as it implements a specific interface) and execute a method... So the method on the class that implements the method will be executed. Hope that makes sense...