WebService Remote Debugging In .NET, the remote debugging function of WEBSERVICE is turned off by default. Sometimes when we need to debug the program remotely, we need to turn on this function. We only need to add a configuration under the <system.web> configuration section of web.config in the WEBSERVICE project. The code is as follows: <system.web> <compilation debug="true" /> <webServices> <protocols> <add name="HttpSoap"/> <add name="HttpPost"/> <add name="HttpGet"/> <add name="Documentation"/> </protocols> </webServices> </system.web> WebService Timeout Operation It takes a long time to execute some WebService methods. When the default time is exceeded, the system will report an error. At this time, you can do the following: 1. Modify the app.config file and add the following code: The request execution timeout is 600 seconds (the default is 110 seconds) 2. Set the Timeout property of Web services The timeout, in milliseconds, for synchronous calls to XML Web services. The default is 100000 milliseconds.
Indicates the amount of time, in milliseconds, that an XML Web service client waits for a synchronous XML Web service request to complete. Tip: If you set the Timeout property to Timeout.Infinite (=-1), it indicates that the request has no timeout. Even though an XML Web service client can set the Timeout property to no timeout, the Web server can still time out the request on the server side. The system will use the minimum of the above two settings as the operation timeout period. IIS limits web service request size and timeout The default request size must not exceed 2M. To reset it: In web.config, At the same time, the IIS Default Web Site control interface can set "Connection timeout", the default value is 120 seconds. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Detailed explanation of moment.js time and date processing
Prerequisites: Docker is already installed 1. Fin...
Service.xml The Server.xml configuration file is ...
Table of contents Preface Setting up with Vue CLI...
Background In Docker, four containers are created...
Table of contents Preface 1. Reasons: 2. Solution...
Developers familiar with Element-UI may have had ...
TranslateThis URL: http://translateth.is Google T...
This article describes how to install the PHP cur...
Table of contents Why use websocket Socket.io Ope...
1. InnoDB storage engine must be used It has bett...
Optimization ideas There are two main optimizatio...
How to implement text icons through CSS /*icon st...
introduction Sometimes, if there are a large numb...
1. MySQL's own stress testing tool - Mysqlsla...
Because the Raspberry Pi is based on ARM architec...