locked
what if there is some change in the wcf service that is hosted live !!! RRS feed

  • Question

  • hi all,

    My wcf application that uploads files to the server is developed and say it goes LIVE..I mean it  is hosted on the server and the client UI is used by several banks or institues .It means there are several clients,that connects to the wcf service.All works well.Now suppose i need to edit some methods on service OR i put some new methods on the service..will i need to do something at client? ? Will it (client) directly use the updated service ???

    I have something in my mind that if i write here can cause confusions maybe !! so its better i ask you guys a direct question and then let me clear my doubts in it..that would be good and also less confusing..

    Im sure and i hope ,i dont really or manually do something at client side ,because that would be real weird as i have several clients and in various different regions !!..Please do let me know what would be the solution and how would i implement it..

    THANKS in advance...

    Mumtaz 


    Mumtaz Surani
    Wednesday, October 27, 2010 11:51 AM

Answers

  • Hi Surani,

    1. Client does not generate proxy automatically, if you do some changes at service/ server level.

    2. Live connections will be lost if you do refresh the web service. Restart the service after updating .cs file linked to .svc.

    3. If client does not have new proxy and you do some changes in service at function parameter level/ At operation contract level. When you call that particular operation it will break.

    You can see this MSDN article for the service version-ing details.

    http://msdn.microsoft.com/en-us/library/ms731060.aspx

    Thanks and Regards

    Nakul

     


    Regards, Nakul
    Wednesday, October 27, 2010 12:32 PM

All replies

  • Hi Surani,

    1. Client does not generate proxy automatically, if you do some changes at service/ server level.

    2. Live connections will be lost if you do refresh the web service. Restart the service after updating .cs file linked to .svc.

    3. If client does not have new proxy and you do some changes in service at function parameter level/ At operation contract level. When you call that particular operation it will break.

    You can see this MSDN article for the service version-ing details.

    http://msdn.microsoft.com/en-us/library/ms731060.aspx

    Thanks and Regards

    Nakul

     


    Regards, Nakul
    Wednesday, October 27, 2010 12:32 PM
  •  

      Thanks  Nakul.

      Below link  is really helpful

      http://msdn.microsoft.com/en-us/library/ms731060.aspx

    Tuesday, March 15, 2011 5:51 AM