Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get connection string value from appsettings.json in .net core

{
  "ConnectionStrings": {
    "myDb1": "Server=myServer;Database=myDb1;Trusted_Connection=True;",
    "myDb2": "Server=myServer;Database=myDb2;Trusted_Connection=True;"
  }
}
Source by www.connectionstrings.com #
 
PREVIOUS NEXT
Tagged: #connection #string #core
ADD COMMENT
Topic
Name
9+9 =