title: Adding a SQL connection to my ASP.NET Core application - how to define ConnectionStrings
body: <p>I am trying to connect my ASP.NET Core application to my database.</p>
  
  <p>To do this I'm supposed to edit the appsettings.json file and define my default connection. </p>
  
  <p>I am not sure what to put under Server and Database.</p>
  
  <p>I am trying to connect the database StudentDB.</p>
  
  <p>Here is what string I tried to use to connect to my database: </p>
  
  <p><a href="https://i.stack.imgur.com/Aoh3L.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Aoh3L.png" alt="enter image description here"></a></p>
  
  <pre><code>{
    "ConnectionStrings": {
      "DefaultConnection": "Server=ACTKPTP115;Database=StudentsDB;Trusted_Connection=True;MultipleActiveRes ultSets=true;"
  },
  </code></pre>
  
  <p>As you can see I connected the database in Visual Studio.</p>
  
  <p>Here is the database I'm trying to connect in Microsoft SQL management studio:</p>
  
  <p><a href="https://i.stack.imgur.com/LjxqR.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LjxqR.png" alt="enter image description here"></a></p>
  
  <p>What do I type in the ConnectionStrings under Server and Database to properly connect my server?</p>