Importing MEF-Plugins into MVC Controllers
- by Marks
Hello.
There are several examples of using MEF to plugin whole controller/view packages into a MVC application, but i didn't found one, using MEF to plugin funcional parts, used by other controllers.
For example, think of a NewsService with a simple interface like
interface INewsService
{
List<NewsItem> GetAllNews();
}
That gets news…