title: How can I get current config of the web application without using HttpContext?
body: <p>I need to get the instance of current configuration in my web application. I found that I can get it in the following way:</p>
  
  <pre><code>Configuration configuration = WebConfigurationManager.OpenWebConfiguration( HttpContext.Current.Request.ApplicationPath);
  </code></pre>
  
  <p>But in some parts of my project I have no <strong>HttpContext</strong> so I need to get the instance of the config without using the <strong>HttpContext</strong>.</p>