Check out example codes for "sql connection string in .net core". It will help you in understanding the concepts better.

Code Example 1

{
  "ConnectionStrings": {
    "BloggingDatabase": "Server=(localdb)\\mssqllocaldb;Database=EFGetStarted.ConsoleApp.NewDb;Trusted_Connection=True;"
  },
}

Learn ReactJs, React Native from akashmittal.com