title: MVC 5 Application Settings
body: <p>So I want to store some settings in the application, ones that I can only read from (which i think is pretty much the idea).</p>
  
  <p>How do I inject the reader, I'm not entirely sure how to read application settings in the first place or whether it already has an interface to inject.</p>
  
  <p>I would either want something like this:</p>
  
  <pre><code>public interface IPropertyService
  {
      string ReadProperty(string key);
  }
  </code></pre>
  
  <p>and then implement:</p>
  
  <pre><code>public class DefaultPropertyService : IPropertyService
  {
      public string ReadProperty(string key)
      {
          // what ever code that needs to go here
          // to call the application settings reader etc.
  
          return ApplicationSetting[key];
      }
  }
  </code></pre>
  
  <p>Any help on this subject would be great</p>