Is the Managed Extensibility Framework (MEF) what ASP.NET Core 2 uses internally for IoC?
NickName:johnny Ask DateTime:2018-01-03T04:43:28

Is the Managed Extensibility Framework (MEF) what ASP.NET Core 2 uses internally for IoC?

I am trying to gauge if Managed Extensibility Framework (MEF) is something I can use for extending an ASP.NET Core 2.x MVC website. I saw ExtCore also. My desire is to use it to build infrastructure for plugins in my application.

What I cannot figure out is if MEF is legacy from Silverlight or if MEF is what Core actually uses for it's IoC. I know MEF is in CoreFX, but that's all I know for sure.

I'd like to use MS's IoC DI here if it is viable and not legacy. Is MEF legacy or is it used by Core itself?

Some questions I looked at, most were very old,

Is there a replacement for MEF in .NET Core (or ASP.NET 5)

In ASP.NET Core, does the IoC ASP Startup Class solve what the Managed Extensibility Framework solved with a catalog and container? (The last one is a question I asked at the end of 2016.)

Copyright Notice:Content Author:「johnny」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/48067599/is-the-managed-extensibility-framework-mef-what-asp-net-core-2-uses-internally

More about “Is the Managed Extensibility Framework (MEF) what ASP.NET Core 2 uses internally for IoC?” related questions

Is the Managed Extensibility Framework (MEF) what ASP.NET Core 2 uses internally for IoC?

I am trying to gauge if Managed Extensibility Framework (MEF) is something I can use for extending an ASP.NET Core 2.x MVC website. I saw ExtCore also. My desire is to use it to build infrastruct...

Show Detail

In ASP.NET Core, does the IoC ASP Startup Class solve what the Managed Extensibility Framework solved with a catalog and container?

I have read this, MEF (Managed Extensibility Framework) vs IoC/DI but it is dated. Since then MEF was added to Core. When I look at MEF and the IoC in ASP.NET Core, I cannot tell a lot of differe...

Show Detail

MEF (Managed Extensibility Framework) vs IoC/DI

What problems does MEF (Managed Extensibility Framework) solves that cannot be solved by existing IoC/DI containers?

Show Detail

Using MEF as an IoC

After reading some stuff such as this: http://mikehadlow.blogspot.com/2008/09/managed-extensibility-framework-why.html I understand that MEF has some featcures that I will not find in an IoC, and ...

Show Detail

Whither Managed Extensibility Framework for .NET?

Has anyone worked much with Microsoft's Managed Extensibility Framework (MEF)? Kinda sounds like it's trying to be all things to all people - It's an add-in manager! It's duck typing! I'm wondering...

Show Detail

Is there a replacement for MEF in .NET Core (or ASP.NET 5)

We know that .NET Core (the open-source components) are only a subset of the full .NET Framework, and that ASP.NET 5 (and MVC 6) is built on .NET Core. Does this mean that Managed Extensibility Fra...

Show Detail

What is missing in MEF to be on par with IoC containers?

MEF is not an IoC container. But it seems that it is almost an IoC container. It seems that I can easily make MEF behave like an IoC container (see example below) and there is not much missing to m...

Show Detail

MEF vs. any IoC

Looking at Microsoft's Managed Extensibility Framework (MEF) and various IoC containers (such as Unity), I am failing to see when to use one type of solution over the other. More specifically, it ...

Show Detail

Own extensibility layer or MEF/MAF?

For those that work with application extensibility in .NET, what do you prefer doing - creating your own extensibility layer or using MEF (Managed Extensibility Framework) or MAF (Managed Add-in

Show Detail

When should use Managed Extensibility Framework?

I refereed this and this link for Managed Extensibility Framework. but still not totally clear some of parts. I am confuse about.... In which scenario should be used MEF and why? Is there any other

Show Detail