Skip to content

C# get app settings

ConfigurationManager.AppSettings[someKey] -> return someValue

<configuration>

  <appSettings>
    <add key=”someKey” value=”someValue”/>
  </appSettings>

</configuration>