Posts

Showing posts with the label Windows Communication Foundation

set Timeout ,Max Recieve Package size and no credential in WCF

1 - to increase Timeout in client;
Open Web.configadd parameter(s) into binding element as TimeSpan
openTimeout= "12:00:00"
receiveTimeout="12:00:00"
closeTimeout="12:00:00"
sendTimeout="12:00:00" 2 - to increase limiting Package Size in client;
Open Web.configadd below into Binding element as integer
maxReceivedMessageSize="2147483647" 3 - to set non-security connection in service; Open Web.configadd below into binding element as child element




good luck,