Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the appsetting.json version of <defaultProxy>?

What is the .Net Core appsettings.json version of

<defaultProxy useDefaultCredentials="true">
    <proxy autoDetect="True" 
           proxyaddress="http://localhost:8888/" 
           usesystemdefault="False" bypassonlocal="False" />
</defaultProxy>

?

like image 483
CheeZe5 Avatar asked Dec 09 '25 06:12

CheeZe5


1 Answers

 "HttpClient": {
    "DefaultProxy": {
      "Enabled": true,
      "Address": "http://your-proxy-server:port",
      "BypassOnLocal": false,
      "UseDefaultCredentials": false
    }
  }
like image 90
Abhilab Das Avatar answered Dec 12 '25 11:12

Abhilab Das



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!