[dba-VB] VS2010: Dependency Injection (DI), The Microsoft Extensibility Framework (MEF)

Jim Lawrence accessd at shaw.ca
Fri Oct 23 13:22:52 CDT 2009


Ha ha ha... I guess the universal translator doesn't work... no wonder there
are coding problems.

Jim
 

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Friday, October 23, 2009 11:01 AM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VS2010: Dependency Injection (DI),The Microsoft
Extensibility Framework (MEF)

Hi Shamil

Thanks. Exactly what I was looking for - love "naive examples"!

I have nothing to use it for currently. But it could be one of those topics
that if you know something about it, it will pop forward when it could be of
value to your project.

/gustav


>>> shamil at smsconsulting.spb.ru 23-10-2009 19:34 >>>
Hi Gustav --

I'd go for it at least for educational purposes.
But using DI in business apps we develop could be often an overkill AFAIS
now (I can be wrong) - using DI always(?) needs more time to develop and
test - yes, it should pay back well in long run but how often do we have
that "long run" coming into reality?

Here is a link on foundation info:
http://martinfowler.com/articles/injection.html 

Trying to be more "ground based" here these days :)

Thank you.

--
Shamil 

P.S. I suppose it would be a lot of fun to (re-)develop large business apps
using DI and MEF - are there anybody who have funds for such a project? -
ready to go with that here :)


-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com 
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Friday, October 23, 2009 8:02 PM
To: dba-vb at databaseadvisors.com 
Subject: [dba-VB] VS2010: Dependency Injection (DI), The Microsoft
Extensibility Framework (MEF)

Hi all

<quote>
Dependency Injection (DI) is a technique that includes a set of well-known
design patterns, and most existing DI Containers operate within the
boundaries of these patterns. The Microsoft Extensibility Framework (MEF) -
which is a part of .NET 4.0 - has many similarities with DI Containers,
although there are differences. This session dives into the relationship
between MEF and the existing DI patterns to better understand what MEF is -
and is not.
</quote>

Could someone please indicate what this is about and/or provide a link to
some tutorial on the subject?
Should I attend this 2½ hour session at my local user group?

/gustav


_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com





More information about the dba-VB mailing list