Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: VB.NET
Expertise: Intermediate
Mar 15, 2005



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Improve the Performance of WebDAV in VB.NET

You can improve the performance of WebDAV by setting the following two properties of your Requestobject to false (true is the default value for both of there properties):
  • HttpWebRequest.ServicePoint.Expect100Continue: When this property is set to true, the Request Header is sent to the server, if it doesn't reject the request the client sends the data. If you set the value to false, the client sends the request to the server with the data. If the server rejects the request, the client must resend the complete request.
  • HttpWebRequest.ServicePoint.UseNagleAlgorithm: This algorithm is used to reduce network traffic. It simply buffers small packets, and sends them as a single packet, which should reduce the packet overhead.

Note: The ServicePoint class is supported only in version 1.1 of the .NET Framework.

Martin Moser
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date