發表文章

目前顯示的是 1月, 2019的文章

Will updating Web.config for WCF service on IIS interrupt current request ?

圖片
I've created a simple web service to simulate the above scenario: (Details omitted):         [OperationContract]         int TestCutWebService();         public int TestCutWebService()         {             Thread.Sleep(1000 * 10);             return 1;         } The above code is a web service call that took 10 seconds to handle and return 1. Testing Client program: Just a very simple program call will continuously call that 10 sec web service call and print it The web service return 1 every 10 seconds Then i update the web service to return 1234 with just overwriting everything in the webservice folder including binaries and webconfig in around 115. The web service is still returning 1 for that service call, then return 1234 seamlessly. Explain: According to this Stackoverflow post:  ht...