Long running InDesign Server processes in c#

We've found InDesign Server to be very responsive when dealing with requests.

Sometimes though, we ask it process a file with dozens of linked files comprising many gigabytes of data.

Then it can exceed the default timeout of 60s. So to increase that set the OperationTimeout on the IDS SOAP Client:

1...
2ServicePortTypeClient inDesignServerClient = new(ServicePortTypeClient.EndpointConfiguration.Service, <InDesign Server Url>);
3inDesignServerClient.InnerChannel.OperationTimeout = TimeSpan.FromMinutes(3);
4...