none
How to change one application wcf url from another application config file RRS feed

  • Pergunta

  • Hi,

    Could any body help , I have one silver light application name as   Usercontrols.

    I consumed  WCF service in Usercontrol project . I made this  project as DLL.

    I am using this DLL in another silver light application .

     

    My problem is DLL has  WCF service URL , which should work my second  silver light project WCF reference. is there any way to configure service reference in second project configuration file according to that  first  project WCF URL  has to change .

     


    Murali Krishna.Konanki
    sexta-feira, 20 de agosto de 2010 11:24

Respostas

  • Solution is First project(class library) " ServiceReferences.ClientConfig" copy into second project . in secong project "ServiceReferences.ClientConfig" which you copied from first project there change endpoint. <endpoint address=http://LocalHost/CustomWCFServiceDeploy/PersonService.svc class library will work according to new endpoint.
    Murali Krishna.Konanki
    sexta-feira, 20 de agosto de 2010 15:54