Get Data From Web Config C. Set value string this color. How to get data from web config.
Configurationproperty warranty defaultvalue 1 years isrequired false public string warranty get. In solution explorer right click the project name select add and then select new item. If you want to get data from appsettings tag then you need to write following code.
Set value string this productname.
In the name text box type app config and then select add. If it isn t visible press the ctrl alt l key combination. String connstr system configuration configurationmanager appsettings connstr tostring. Or as ccoombs suggest provide some kind of service wcf that reads web config and returns those values to the caller silverlight.