Friday, March 8, 2019

FYI: Something change .Net Fx. WebClient not working with //urls, protocol is now required

We have a old site that has been using

 var content = WebClient::DownloadString("//host.com/path"); 

without specifying the http/https protocol and it stopped working today.

This worked for a long time without issue, but now the actual protocol is required.

FYI: Something change .Net Fx. WebClient not working with //urls, protocol is now required Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team