0
我有一個web服務。我正在創建一個測試應用程序來獲得這個web服務的響應。添加了對Web服務應用程序的服務引用。測試Web服務中的持久或非持久連接
我的測試appplication中的邏輯如下。
for(int i=0;i<100;i++)
{
MyServiceSoapClient wsClient = new MyServiceSoapClient();
wsClient.Endpoint.Address = new EndpointAddress(serverAddress);
MyLoginResponse loginResp=wsClient.Login("X","X");
}
只是想知道我是在做這種方法的持久連接還是非持久連接。任何幫助?