home / software / tips and tricks / Accessing values from appSettings element in C SHARP

Accessing values from appSettings element in C SHARP

Updated:  09/28/2012 07:09 AM
Author:  Shiju Mathews

Status:    Resolved.


In .NET Framework 2.0 onwards ConfigurationSettings.AppSettings Property is obsolete. Even though the code is not going to break is is advisable to replace with the new ConfigurationManager.AppSettings class.

The following methods can cues to access the values from “AppSettings” element in “web.config” or “app.config”



OR



Tags: Accessing values from appSettings element in C SHARP
Updated on: October 2024