I am involved in the learning process of ASP.NET vNext. I need to save two connection strings in config.json file. How to store them? Can i do this:
config.json
{ "connectionStrings" : { "connection-1" : "server=...", "connection-2" : "server=..." } }
I could not find the schema for config.json . For this reason, I was not sure how to do this. I have seen using IConfiguration here . However, I was not sure how Configuration is available in the application.
c # asp.net-core
xam developer
source share