we are having a really nice issue. actually we wouldn't expect.
we have a SL 3 application working with 2 wcf service and a ServiceReference.ClientConfig. but when mef load a second xap that include also another ServiceReference.ClientConfig the module loaded can not fine the endpoint because the two ServiceReference.ClientConfig
are not merged. that's really annoy.
as a MEF user would be really nice if Mef could do that.
I think is a normal behavior that a xap can have a wcf server side to talk with.
we found 2 workaround.
1) write the endpoint in the xap module programmaticly, but we need to recompile all the time when we want to change url address
2) include in the host ServiceReference.ClientConfig all end point used from the all xap module that has to be loaded ( really dirty )
we think to use the second option , waiting for some merging system from the community ( hoping that the MEF in SL4 has already this behavior)
do you guys have some otehr ideas , suggestion or alternative.