Chapter 16. Extending the Code Editor Using MEF

We have seen in the preceding two chapters that there are many different opportunities, and approaches, for extending Visual Studio functionality. The add-in model, in particular, is a powerful way to implement fairly robust applications within the Visual Studio IDE. But Visual Studio 2010 introduces a brand new technology for extending Visual Studio: the Managed Extensibility Framework (MEF).

MEF is actually a generic architecture pattern, API, and .NET class library for enabling easy “plug in” extensions for any .NET application. Visual ...

Get Microsoft® Visual Studio® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.