Unable read App.config values from Class Library
<p>This may be the simple question to answer, but I am struggling to resolve.</p>

<p>I have <code>Web.config</code> with the following values in my Web Application.</p>

<pre><code>&lt;appSettings&gt;
    &lt;add key ="FirstName" value ="Prasad"/&gt;
    &lt;add key ="LastName" value ="Kanaparthi"/&gt;
&lt;/appSettings&gt;
</code></pre>

<p>I have <code>App.config</code> with following value in my Class Library (Say Lib). </p>

<pre><code>&lt;appSettings&gt;
    &lt;add key ="FullName" value ="Prasad Kanaparthi"/&gt;
&lt;/appSettings&gt;
</code></pre>

<p>The class library(Lib) is pluggable component, I have added the Class Library(Lib) reference in my Web Application. </p>

<p>I have the below code in my Class Library(Lib). When i create instance for <code>GetAppSettings</code> in my web application i can see below responses.</p>

<pre><code>namespace Lib
{
    public class GetAppSettings
    {
        public GetAppSettings()
        {
            var FirstName = ConfigurationManager.AppSettings["FirstName"];    // O/P : Prasad
            var MiddleName = ConfigurationManager.AppSettings["MiddleName"];  // O/P : Kanaparthi

            var FullName = ConfigurationManager.AppSettings["FullName"];      // O/P : null
        }
    }
}
</code></pre>

<p>The Question is how can i read FullName from <code>App.config</code> which is Class Library (Lib).</p>

<p><strong>Note</strong>: Since my Lib is pluggable component, So the consumers can change the <code>FullName</code> of their own.  I cannot merge values to Web.confing from App.config..</p>
