It takes key and value combination.
<appSettings>
<add key="ServerURI" value="http://localhost:1643/"/>
appSettings>
To read value from web.config
string configPath = ConfigurationManager.AppSettings[key].ToString();
No comments:
Post a Comment