B
Blueparty
I am Java programmer who is forced to do something in .NET for the first
and, also, the last time in my life.
I have console application in vb.net which is retrieving data from
Tomcat web server using GET method, and uploading some other data using
POST method. I am using system.net.webclient and it works fine.
When I try to add basic authentication, GET still works fine, but POST
takes very long to complete. I have checked Tomcat logs, and request is
served swiftly, as normal, but vb.net application does not seem to be
aware of that, as if it is waiting for some kind of acknowledge.
I am adding NetworkCredential as webclient.credentials property.
I have also tried adding NetworkCredential to CredentialCache, and
setting webclient.credentials to CredentialCache, but there is no
improvement.
I repeat, everything works perfectly without authentication. Is there
any way to speed up POST request, apart from removing authentication ?
B
and, also, the last time in my life.
I have console application in vb.net which is retrieving data from
Tomcat web server using GET method, and uploading some other data using
POST method. I am using system.net.webclient and it works fine.
When I try to add basic authentication, GET still works fine, but POST
takes very long to complete. I have checked Tomcat logs, and request is
served swiftly, as normal, but vb.net application does not seem to be
aware of that, as if it is waiting for some kind of acknowledge.
I am adding NetworkCredential as webclient.credentials property.
I have also tried adding NetworkCredential to CredentialCache, and
setting webclient.credentials to CredentialCache, but there is no
improvement.
I repeat, everything works perfectly without authentication. Is there
any way to speed up POST request, apart from removing authentication ?
B