title: Winforms .net core 3 connection string location
body: <p><a href="https://i.stack.imgur.com/t2NWq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t2NWq.png" alt="enter image description here"></a></p>
  
  <p>I've created a Winforms .net core 3 project and I am wondering where i should place a connection string?  Usually in a web based core project i'd place it in appsettings.json.</p>
  
  <pre><code>class DatabaseContext : DbContext
      {
          public DatabaseContext(DbContextOptions&lt;DatabaseContext&gt; options) : base(options)
          { }
  
          protected override void OnModelCreating(ModelBuilder builder)
          {
              base.OnModelCreating(builder);
  
  
          }
  
          public DbSet&lt;InsModel&gt; Models { get; set; }
  
      }
  </code></pre>