DCSIMG
עמוד הבית| חבילות השירות שלנו| חומר חופשי| צור קשר
Unity Application Block - בלוג היועצים של מיקרוסופט ישראל

בלוג היועצים של מיקרוסופט ישראל

Browse by Tags

All Tags » Unity Application Block (RSS)
Unity and AOP
Unity and AOP: InterfaceInterceptor Example. One of the solution architecture design key decisions is the cross-cutting concerns handling. When we look at many of these cross-cutting concerns, we can recognize a pattern. Many of them happen only at either the start or the end of a method: Log when a method is called. Checking user inputs for validity. Handling exceptions. This leads to a different approach to implementing cross-cutting concerns. We can put some special handling before or after method...
Loading Unity Configuration From Alternative Source
In my previous post , I’ve showed you how to use unity schema in web.config for mapping interface types against concrete types. If you have multiples mappings or you just don’t want to store unity configuration in your web.config , than you can load unity configuration information into container from a specific named configuration file by using System.Configuration.Configuration In order to load Unity configuration from alternative configuration file, change the UnityServiceHost class from the previous...
Integrating Unity Application Block with WCF - Part 1
The Unity Application Block is a lightweight, extensible dependency injection container with support for constructor, property and method call injection. In Layered Architecture, Unity can help us to achieve decoupled or very loosely coupled design between the different tiers ( more details about the layered architecture with Unity in the next posts .. ). There are three ways we can set up and prepare a Unity container by populating it with registered mappings. We can: Provide an XML format configuration...