C#-积累-ASP.NET-获取web.config配置文件参数
<configuration>
<appSettings>
<add key="web_host" value="http://192.168.1.69:1024" />
</appSettings>
</configuration>
读取 ConfigurationManager.AppSettings["web_host"].ToString();
(添加元件库 Configuration)
正文到此结束
<configuration>
<appSettings>
<add key="web_host" value="http://192.168.1.69:1024" />
</appSettings>
</configuration>
读取 ConfigurationManager.AppSettings["web_host"].ToString();
(添加元件库 Configuration)