Unity Application Block 1.2 for Silverlight - December 2008

几个链接:

什么是 Unity?

Unity是一个轻量级的,可扩充的依赖注入容器。Unity可以很好的支持Model-View-Presenter (MVP) pattern来做silverlight的开发。

The Unity Application Block (Unity) is a lightweight, extensible dependency injection container. This release of Unity is a port of Unity Application Block 1.2 to Microsoft Silverlight 2.0.

What’s New?

The following capabilities and packaging of the Unity container have been adjusted in this release:

  • – The single Microsoft.Practices.Unity.dll file in the Silverlight version contains all the classes from the three separate desktop DLLs: Microsoft.Practices.Unity.dll, Microsoft.Practices.ObjectBuilder2.dll, and Microsoft.Practices.Unity.StaticFactoryExtension.dll. You only need to reference and deploy the one assembly in your Silverlight projects.
  • – Because of differences in the Silverlight security model, only public types can be created and injected by the container. The desktop version allows you to also inject internal types.
  • – XML configuration is not supported.
  • - The Unity interception mechanism is not supported.
posted @ 2008-12-19 18:43  王喆(nasa)  阅读(907)  评论(0编辑  收藏  举报