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 ~

11 Comments so far »

  1. Michael Sync » Unity Application Block (Unity) for Silverlight and StopLight QuickStart said

    am August 8 2008 @ 9:44 am

    [...] UPDATED: Unity for Silverlight, two Samples and Unit Test projects are on Codeplex now. [...]

  2. Alex Espinoza said

    am August 8 2008 @ 10:24 am

    Very nice work. I am very interested into it. I will try it later when I get home.

    Nice Work!.

  3. Michael Sync said

    am August 9 2008 @ 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

  4. Young Oh said

    am August 10 2008 @ 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!

  5. Silverlight Cream for August 09, 2008 - 2 -- #342 said

    am August 11 2008 @ 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 [...]

  6. Silverlight 2.0 RTM? Silverlight vNext « Tales from a Trading Desk said

    am August 28 2008 @ 1:43 pm

    [...] SLUnity [...]

  7. Nic said

    am August 28 2008 @ 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!

  8. Miguel Madero said

    am September 29 2008 @ 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

  9. Michael Sync said

    am September 29 2008 @ 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.

  10. Michael Sync » A few updates for my readers said

    am September 29 2008 @ 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 [...]

  11. Miguel Madero said

    am October 1 2008 @ 7:05 am

    Michael,

    Is this part of the new Prism v2?

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: