I agree, using MEF for really granular quick-turnaround things like pieces
of web pages seems overkill and of little benefit unless you're creating
some sort of clever fancy general purpose extensible web framework.

MEF works great for dynamically discovering plug-in "chunks" of
functionality in extensible ways, so long as that's what you want to do! A
few years ago I spent hours learning the MEF lingo to use it to pick a DLL
at runtime, but weeks later I decided it just cluttered up my quite simple
code and I replaced it all with about 15 lines of code that looped through
GetTypes() and Activated the one I wanted -- *Greg K*

On 1 June 2015 at 06:48, Davy Jones <[email protected]> wrote:

> Thanks
> Davy
>
> Sent from my iPhone
>
> On 31 May 2015, at 16:36, Piers Williams <[email protected]> wrote:
>
> On the face of it, I think I would gently dissuade your colleague.
>
> Having a level of modular isolation for areas of a webapp is not in of
> itself a bad thing, but you'd be much better off using something like
> Aufofac's modules *if the need presented* than MEF.
>
> MEF is a plugin framework, and even there it leaves a bit to be desired. I
> struggle to think of a scenario in which I'd use it (again).
> On 27 May 2015 6:19 pm, "David Rhys Jones" <[email protected]> wrote:
>
>> Hi all,
>>
>>  I recently joined a new team and one of the Developpers is one of those
>> guys that likes to complicate things for the hell of it.
>>
>> The current technology he is trying to push is  MEF (Extension Framework)
>> with every web page / section in a new plugin.
>>
>> Can I have some opinions on what it's really like to use MEF.
>>
>> Thanks
>> Davy
>>
>> *Si hoc legere scis nimium eruditionis habes*.
>>
>>

Reply via email to