Microsoft Knowledge Base Email Alertz

(831686) - This article contains information about the Microsoft guide to Performance Considerations for Making Web Service Calls from ASPX Pages . This guide helps developers prevent performance problems and the devouring of thread-pool resources with an...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 831686 - Last Review: April 25, 2007 - Revision: 3.4

Performance considerations for making Web service calls from .aspx pages

SUMMARY

This article contains information about the Microsoft guide to Performance Considerations for Making Web Service Calls from ASPX Pages. This guide helps developers prevent performance problems and the devouring of thread-pool resources with an asynchronous approach to Web service calls that use Microsoft ASP.NET.

MORE INFORMATION

Performance Considerations for Making Web Service Calls from ASPX Pages contains the following sections:
  • The Scenario: Performance Devastation When Calling a Web Service from an ASP.NET Page
    This section describes problems that you may notice when you make a Web service call from a middle-tier environment such as ASP.NET.
  • Tuning Around the Problem
    This section describes configuration settings that you can use to work around the problems that were mentioned previously.
  • The Real Solution: Asynchronous Request Handling
    This section describes how to design your Web applications to avoid the problems that were mentioned previously.
The The Scenario: Performance Devastation When Calling a Web Service from an ASP.NET Page section contains the following topics:
  • HTTP Two-Connection Limit
  • Thread Pool Limits
  • The Problem Is Not Restricted to Web Services
The Tuning Around the Problem section contains the following topics:
  • maxconnection
  • maxWorkerThreads and minFreeThreads
  • Windows XP Limitations
The The Real Solution: Asynchronous Request Handling section contains the following topics:
  • The First Piece in the Asynchronous Solution: Asynchronous Web Service Calls
  • The Second Piece of the Asynchronous Solution: Asynchronous PreRequestHandler Execution

REFERENCES

For more information about Web service calls, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/aa480507.aspx (http://msdn2.microsoft.com/en-us/library/aa480507.aspx)

APPLIES TO
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
Keywords: 
kbthread kbhttphandlers kbwebservices kbperformance kbguidelines kbinfo KB831686
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate