web-config - <defaultProxy> 的 appsetting.json 版本是什么?

标签 web-config asp.net-core-mvc

什么是 .Net Core appsettings.json 版本

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

?

最佳答案

http://www.utilities-online.info/xmltojson 使用工具
我得到了以下内容。我没有测试这个。

 {
      "defaultProxy": {
        "-useDefaultCredentials": "true",
        "proxy": {
          "-autoDetect": "True",
          "-proxyaddress": "http://localhost:8888/",
          "-usesystemdefault": "False",
          "-bypassonlocal": "False"
        }
      }
    }

关于web-config - <defaultProxy> 的 appsetting.json 版本是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41152044/

相关文章:

c# - 使用 mvc6 网格时无法将显示格式设置为小数点后两位

javascript - 在为图表动态创建持有者后渲染图表不起作用

c# - ASP.NET Core MVC 模型属性绑定(bind)为 null

c# - 在 ASP.NET Core 的自定义中间件中获取对请求的 Controller 和操作的引用

c# - IFormFile 始终为 null(带有 MVC/Razor 的 ASP.NET Core)

asp.net - Web.config:在xml属性中添加注释

c# - 我们可以在 .NET 控制台应用程序中拥有多个 App.Config 文件吗?

asp.net - 通过 smtppickupfolder 使用 MS 企业库日志记录应用程序 block 发送电子邮件?

asp.net - '/'应用程序中的服务器错误。不提供此类页面

.net - 如何在 VS 2008 项目中将 ConfigurationManager 用于 DEBUG 和 RELEASE 版本