string ServerUrl= ConfigurationManager.AppSettings["ServerUrl"].ToString();
web.config中的配置为:
<configuration>
<appSettings>
<add key="ServerUrl" value="http://192.168.?.?/?/?" />
</appSettings>
</configuration>
string ServerUrl= ConfigurationManager.AppSettings["ServerUrl"].ToString();
web.config中的配置为:
<configuration>
<appSettings>
<add key="ServerUrl" value="http://192.168.?.?/?/?" />
</appSettings>
</configuration>