title: How to Read a value from appsettings.json and mix it with the values ​returned by Entity Framework
body: <p>Good morning, I have a Project in Asp.net Core 5 which has a Core project with entities. My question is, I need to know how to mix a property of the News Class with a value that is hosted in another ASP.Net Core API project. That is, when returning the value from Entity you must be able to mix the values ​​of appsettings.json + the image field</p>
  <p>that is, in the GetNoticiacastList () method I need the FullPath property to mix with the values ​​of the appsettings and the value of the image property. to form a URL of the</p>
  <p>my appsettings.json</p>
  <pre><code>&quot;AppSettings&quot;: {
  &quot;virtualpath&quot;: &quot;//google.com/photos/&quot;
  </code></pre>
  <p>},</p>
  <p>My class:</p>
  <pre><code>    public class Noticia
  {
      public int  id{ get; set; }
      public string Titulo { get; set; }
      public string Imagen { get; set; }
      public string FullPath { get; set; }
  }
  </code></pre>
  <p>My NoticiaRepository:</p>
  <pre><code>     public async Task&lt;IEnumerable&lt;Noticia&gt;&gt; GetNoticiacastList()
      {
          var listadoNoticia = await _context.Noticia.ToListAsync();
          return listadoNoticia ;
      }
  </code></pre>