Wednesday, September 3, 2008

ARC304-Unity

Look at tight coupling in applications. Unity is part Of Enterprise Library 4.0 and is a Inversion Control framework

Dependancy Injection
Inversion of Control

IE8 with Emulate IE7

Unity Wrapper (Service Locator)
Unity Configuration (web.confg)

Not much point putting an interface on data classes
Use Servicelocator with IUnityContainer - Static class to wrap container - service locator pattern
Type Injection
Constructor Injection
Seams
Facade Pattern
Unit tests with Mocks in a separate project
Selenium for Soap
MockRepository
Rhino Mock
Arrange Actor Cert Syntax
Lifetimes of the object-ContainerControlled
Unity Contnb on Codeplex
DepadanCy Injection for ILogger
http://Richardsbraindump.blogspot.Com

0 comments: