I agree with you.
The string themselves are not important, what is important is the creation and destroy of CompositionContext.
You can see the code for library called alt-composition written by nblumhardt who was on the MEF team.
Specifically I suggest to look at MvcCompositionProvider.cs Line 34 where he creates a CompositionContract with the specified boundaries. As far as I can tell all those boundaries are exactly the same (as you said).
At line 65 you can see how he try to get exist composition context or creates new one and store it.
I am using this library and it works great but I think Google Guice Scopes are much clearer. I look at Guice because I find a lot of similarities between MEF and Guice and the both accomplish similar goals.
Ido
The string themselves are not important, what is important is the creation and destroy of CompositionContext.
You can see the code for library called alt-composition written by nblumhardt who was on the MEF team.
Specifically I suggest to look at MvcCompositionProvider.cs Line 34 where he creates a CompositionContract with the specified boundaries. As far as I can tell all those boundaries are exactly the same (as you said).
At line 65 you can see how he try to get exist composition context or creates new one and store it.
I am using this library and it works great but I think Google Guice Scopes are much clearer. I look at Guice because I find a lot of similarities between MEF and Guice and the both accomplish similar goals.
Ido