Register or Login to Your Account
What is the difference between ASP.NET Core Dependency Injection and the Managed Extensibility Framework?
Dependency Injection is a design pattern to implement Inversion of Control. It allows you to inject the concrete implementation of a low-level component into a high-level component.
Managed Extensibility Framework (MEF) can be used for third-party plugin extensibility, or it can bring the benefits of a loosely-coupled plugin-like architecture to regular applications.
• MEF is a library for creating lightweight, extensible applications.
• It allows application developers to discover and use extensions with no configuration required.
• MEF is an integral part of the .NET Framework 4 and is available wherever the .NET Framework is used that improves the flexibility, maintainability, and testability of large applications.
• You can use MEF in your client applications, whether they use Windows Forms, WPF, or any other technology, or in server applications that use ASP.NET.