title: Can I access web.config in extension method
body: <p>Can I access values in application settings of web.config in extension method?</p>
  
  <p>I have the below code but it is not working:</p>
  
  <pre><code>&lt;Extension()&gt; _
  Public Function DocCountExt(ByVal value As Collection) As Integer
      Dim maxOffSet As Integer = Integer.Parse(ConfigurationManager.AppSettings(APP_SETTINGS_OFFSET))
      return maxOffSet
  End Function
  </code></pre>
  
  <p>The above code does not work.</p>