devxlogo

Improve the Performance of WebDAV in VB.NET

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.

See also  Professionalism Starts in Your Inbox: Keys to Presenting Your Best Self in Email
devxblackblue

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.

About Our Journalist