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 ~

12 thoughts on “Unity for Silverlight, Two Samples and Test Projects are on Codeplex now.

  1. 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

  2. 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!

  3. Hi Michael,

    It seems the latest unitycontributions-XXXX.zip will not fully unzip because they contain password protected files.

    Any ideas?

    Thanks!

  4. 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

  5. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *