Dependency Injection

There are 2 entries for the tag Dependency Injection

MEF Common Service Locator adapter updated to MEF Preview 6

The Common Service Locator project has a bunch of adapters. One of them is the one for Managed Extensibility Framework (MEF). I’ve updated the adapter to run on MEF Preview 6 and uploaded the result to the Codeplex site for the CSL. Common Service Locator MEF adapter Note: I’ve been nagging on Glenn Block to update the adaptor project that hooks up MEF to the Common Service Locator. Not so much nagging on him to do it, the man has enough to do, but rather nagging on him to add med as a developer on the CSL project...

Managed Extensibility Framework (MEF) used to make a Composite Web ASP.NET Forms Application

Phew that blog post title sure is a mouthful! (As you can see I wanted to get all the key words into the title!) So what's this post really about? I am making an ASP.NET Forms Application composable using the new Managed Extensibility Framework (MEF). By composable I mean that I have for instance a Page that hosts dynamically loaded UserControls. Page and Controls may all communicate with one another but I want to do it without having to hook them up to each other manually. Also you don't want to set compile time references between any different assemblies...