Wednesday, November 26, 2008

Webservices - Upload a file

3 things to consider

1. In web.config

< httpRuntime maxRequestLength="10240" executionTimeout="300"/ >

2. In the client application

MyWebService ws = new MyWebService();
ws.Timeout = 300*1000;

3. In IIS (not tested)

HTTP Keep-Alives Enabled
Connection Timeout: xyz seconds

No comments: