Problem with Web Server Performance
-
Hi I have a Active X Control that calls a C# Com Server, which itself makes Web Service calls. The code itself is fine and data comes back without error. However, when the browser is opened for the first time as a new session and the user navigates to the page where the Active X is the performance is shockingly slow. Running in debug mode, the opening of the Active X is quick but when it reaches the code to call the COM Server and then executes this line of code it takes 23 seconds for the data to come back. This problem only every happens when opening a new browser window/session. If you use the same window and call the Active X again, then the code only takes a few seconds. So, my question is whether there is any way of instantiating the objects needed for web service calls right at the point when the page is first loaded where the Active X is found rather than instantiating when the call is made via the Active X? Is this possible? Or is there another way of speeding things up?
-
Hi I have a Active X Control that calls a C# Com Server, which itself makes Web Service calls. The code itself is fine and data comes back without error. However, when the browser is opened for the first time as a new session and the user navigates to the page where the Active X is the performance is shockingly slow. Running in debug mode, the opening of the Active X is quick but when it reaches the code to call the COM Server and then executes this line of code it takes 23 seconds for the data to come back. This problem only every happens when opening a new browser window/session. If you use the same window and call the Active X again, then the code only takes a few seconds. So, my question is whether there is any way of instantiating the objects needed for web service calls right at the point when the page is first loaded where the Active X is found rather than instantiating when the call is made via the Active X? Is this possible? Or is there another way of speeding things up?
-
Hi I have a Active X Control that calls a C# Com Server, which itself makes Web Service calls. The code itself is fine and data comes back without error. However, when the browser is opened for the first time as a new session and the user navigates to the page where the Active X is the performance is shockingly slow. Running in debug mode, the opening of the Active X is quick but when it reaches the code to call the COM Server and then executes this line of code it takes 23 seconds for the data to come back. This problem only every happens when opening a new browser window/session. If you use the same window and call the Active X again, then the code only takes a few seconds. So, my question is whether there is any way of instantiating the objects needed for web service calls right at the point when the page is first loaded where the Active X is found rather than instantiating when the call is made via the Active X? Is this possible? Or is there another way of speeding things up?