set Timeout ,Max Recieve Package size and no credential in WCF
1 - to increase Timeout in client;
- Open Web.config
- add parameter(s) into binding element as TimeSpan
openTimeout= "12:00:00"
receiveTimeout="12:00:00"
closeTimeout="12:00:00"
sendTimeout="12:00:00"
- Open Web.config
- add below into Binding element as integer
maxReceivedMessageSize="2147483647"
3 - to set non-security connection in service;
- Open Web.config
- add below into binding element as child element
good luck,
Comments
Post a Comment