Unity for Silverlight, Two Samples and Test Projects are on Codeplex now.
I just committed all of my sourcecode for SLUnity to Codeplex. I have added one more sample and unit test projects at this time. You can probably download it from here. I think you guys can start playing the DI (Dependency Injection Pattern) and MVP (Model View Presenter Pattern) in Silverlight 2 beta2. You can also develop the extension (e.g. EventBroker Extension or etc) for Unity framework.
Download : Unity Community Contributions (Change Set 14032)

What’s new in this?
- EventBrokerExtension for Silverlight and SimpleEventBroker Sample : You can learn how to CAB(Composite Application Block)/SCSF(SmartClient Software Factory) style Event Publishing and Event Subscription in Silverlight 2 Beta2.
- ObjectBuilder.BuildPlan: Unit Test project for ObjectBuilder
- ObjectBuilder.Test : This is also another unit test for Object Builder.
- SLUnity.Test: This is a unit test project for Unity for Silverlight 2 Beta2.
Notes ~
1) All of those Unit Test projects are using Silverlight UnitTest Framework from Jeff Wilcox. You can download that framework and Visual Studio 2008 template for Silverlight Unit Test from this link. If you are very new to SIlverlight Unit Testing, please take a look this tutorial.
2) As Unity.Configuration is still missing in the project, all test cases related to Unity.Configuration are removed from Test projects.
3) Due to the Silverlight Security limitation, I have to change the most of private classes, interfaces, constructors and etc to public.
4) Due to the limitation of Silverlight, all converter classes are removed.
Okay. That’s all for now. Feel free to let me know if you have any suggestion or comment. Thanks.
Related ~
August 8th, 2008 at 9:44 am
[...] UPDATED: Unity for Silverlight, two Samples and Unit Test projects are on Codeplex now. [...]
August 8th, 2008 at 10:24 am
Very nice work. I am very interested into it. I will try it later when I get home.
Nice Work!.
August 9th, 2008 at 2:07 am
Hey Alex,
Thanks.. Yes. Please let me know if you have any suggestion or comment after playing with SLUnity. I hope you are gonna like it..
thanks again, man
August 10th, 2008 at 8:38 pm
Many thanks for your great work. I have been using DILight within Prism with great success. I expect and wait for SLUnity becoming part of Prism sooner than later. Well done, Michael!
August 11th, 2008 at 2:46 am
[...] a nice short article on her exploration, with links to the folks she learned from… thanks, Anna! Unity for Silverlight, Two Samples and Test Projects are on Codeplex now. Michael Sync has posted a bunch of Unity code on CodePlex for our viewing pleasure and possible use [...]
August 28th, 2008 at 1:43 pm
[...] SLUnity [...]
August 28th, 2008 at 2:54 pm
Hi Michael,
It seems the latest unitycontributions-XXXX.zip will not fully unzip because they contain password protected files.
Any ideas?
Thanks!
September 29th, 2008 at 7:06 am
Interesting work. I’m glad to see this.
Just one small tip, isntead of changed the access to public you could have used internal and mark the assembly with the InternalsVisible attribute
September 29th, 2008 at 9:56 pm
Hi Nic,
I’m not so sure about that. There are a lot of people who are contributing to UnityContrib. I’m just one of them. If you like to get the sourcecode of SLUnity, you can download it from sourcecode.
Hi Miguel,
Thanks a lot for your suggestion. I will change it.
September 29th, 2008 at 10:10 pm
[...] I’m participating in UnityContrib project to contribute the Silverlight version of Unity (SLUnity) for Silverlight Community. I recieved serveral requests to support the SLUnity Configuration. I [...]
October 1st, 2008 at 7:05 am
Michael,
Is this part of the new Prism v2?
October 31st, 2009 at 2:34 am
[...] a chance to get very familiar with those frameworks in that company. I even manged to contribute some of my source code to Prism Contrib, Unity Contrib projects. We implemented two styles of MVVM [...]