Sign in | Join
Last post 05-22-2009 7:38 AM by cgeers. 3 replies.
Sort Posts: Oldest to newest Newest to oldest
Is this possible with Enterprise Libary 4.x? If so, can anyone point me to a decent tutorial about these 2 subjects. I am a newcomer to all this kind of stuff, also on Enterprise Library itself.
Nyla,
Dependency injection is possible using the Unity Application Block of the Enterprise Library.
Check the following MSDN page, which contains the required information about setting up the unity block.
http://msdn.microsoft.com/en-us/library/dd140117.aspx
Policy Injection is also supported by the Policy Injection Application Block.
http://msdn.microsoft.com/en-us/library/dd139982.aspx
Regards,
Christophe
Thank you for your reply. Do you know of some simple samples where it gets used? I am a bit of beginner on these topics but really want to learn as much as possible.
I suggest Googling for tutorial / articles if that is what you're looking for. E.g.:
DI:
http://blog.vascooliveira.com/Blog/articles/unity-tutorial-and-examples.aspx
PI:
http://www.devx.com/dotnet/Article/34517