devxlogo

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.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Five Early Architecture Decisions That Quietly Get Expensive

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.