I am creating a Host SL app that will serve up several "Plugins" Each of these plugins can reference their own WCF service. When i import these into the Host app using MEF it says it cant find the endpoint.
What is the best way to handle these endpoints. I am trying not to have to handcode each 开发者_Python百科endpoint everytime we need to release a new plugin
Using these two line below allowed me to use that service reference without the config file exporting
Private binding As New BasicHttpBinding(BasicHttpSecurityMode.TransportCredentialOnly)
Private WithEvents _Misc As Service_Misc.Misc_CallsClient = New Misc_CallsClient(binding, New EndpointAddress("http://localhost:61928/Misc_Calls.svc"))
精彩评论