title: Where to put connection string when moving database code to separate assembly
body: <p>I have a Razor Pages website application and I'd like to move my database code to a separate project/assembly, which is referenced from my main project/assembly.</p>
  <p>Creating a new class project and moving the files from my <em>Data</em> and <em>Model</em> folders is straight forward. But I'm not clear on where my connection string goes (currently, it's in the <em>appsettings.json</em> for my main project).</p>
  <p>How do I specify the connection string for my class library?</p>