New Post: Efficient Scoping in MEF2
I'm trying to do something similar and have run into problems.http://stackoverflow.com/questions/16943121/defining-scope-in-mef-with-compositionscopedefinition
View ArticleNew Post: An explanation about ChildContainer - ExportFactory -...
I'm looking for a more detailed post but haven't found anything yet apart from the simple example on the BCL blog. I have asked a question about how to us CompositionScopeDefinition on...
View ArticleCreated Unassigned: Defining Scope in MEF with CompositionScopeDefinition...
You cannot use CompositionScopeDefinition in conjunction with an AssemblyCatalog.http://stackoverflow.com/questions/16943121/defining-scope-in-mef-with-compositionscopedefinition?answertab=votes#tab-top
View ArticleNew Post: Caller context
Sorry to resurrect this thread, but it is better than writing a duplicate. Seeing how Glenn's response was written in 2010 for MEF1, I am hoping the MEF team has come up with a user story for this...
View ArticleNew Post: Manually loading module using InitializeModules?...
Hi, I the source project of Prism Splash Screen Module and I want to convert this example of loading modules to Mef: public class Bootstrapper : UnityBootstrapper { protected override void...
View ArticleNew Post: Manually loading module using InitializeModules?...
I found my solution by using:IModuleManager manager = ServiceLocator.Current.GetInstance<IModuleManager>(); manager.LoadModule("ModuleA");
View ArticleNew Post: solution works in test & debug but not on server - "Path cannot be...
I have a suite of components that are designed to be reused over quite a few large/small disparate developments/solutions. These all work fine in debug and integration test off server but when they are...
View ArticleNew Post: problem with load assembly
I have a problem with load assembly. I have two solutions. The first solution, which name is Studio want load and use second solution, which name is Worker. Type of Worker solution is class library....
View ArticleNew Post: Composing inter-dependant objects
Hi there, I'm trying to introduce MEF and nHibernate into a legacy windows forms application. I've currently got a factory which exports nHibernates' ISession interface and I'm trying to work out how...
View ArticleNew Post: Composing inter-dependant objects
hi mrsquish,I am not very familiar with nhibernate, but the problem that you are running into would seem to be solvable by using the CompositionScopeDefinition class. At a high level . Composition...
View ArticleNew Post: Composing inter-dependant objects
Hi alokshriram, Thanks so much for the reply. Sorry I should have described the full situation a little better. I'm currently constrained to .Net 4.0 as my customers platforms include XP machines. So I...
View ArticleNew Post: Composing inter-dependant objects
Hi alokshriram, I've read up on the composition scope definition and it looks to be exactly what I'm after. Thank you for bringing it to my attention, now I just wish I could use it!
View ArticleNew Post: Composing inter-dependant objects
J. Hopefully the article gets you started. Let me know if you run into issues.thanks-alok
View ArticleNew Post: Composing inter-dependant objects
Hi Alok, I'm pretty sure given my small amount of reading that I cannot use your solution as I'm constrained to .Net 4.0.
View ArticleNew Post: Composing inter-dependant objects
Fair.. Sorry I missed your earlier comment about you using .Net 4.0
View ArticleNew Post: Composing inter-dependant objects
For any of those that are interested, I ended up creating an interface IRequireSession which has the following declaration public interface IRequireSession { ISession Session { get; set; } } And is...
View ArticleNew Post: MEF distributions
Hi, I'm trying to organize all the different MEF distributions and the features that each has, it will be really nice if someone can help me with that. From what I understand there is MEF in .NET 4.0...
View ArticleNew Post: mefx for convention based composition
Hi, Is there a plan to create mefx like tool for convention based composition ? Thank you, Ido.
View ArticleNew Post: mefx for convention based composition
Hi Ido, As of right now the framework team does not have something like this on the radar. We will keep your request in mind for future planning.thanks-alok Program Manager.NET Ecosystem
View ArticleNew Post: MEF distributions
Ido, For difference between Mef 4.0 and Mef 4.5 see this article . With regards to platforms that they support both work on the desktop.The OOB release of MEF has the features as listed in the...
View Article