Where should I store the connection string for the production environment of my ASP.NET Core app?
问题 Where should the production and staging connection strings be stored in an ASP.NET Core application, when deploying into IIS 7 (not Azure) ? I am looking for the recommended way of doing it / best-practice, especially security-wise. 回答1: In ASP.NET 5 it's possible to specify multiple configuration sources. Thanks to this welcoming change to previous model you can store your development connection string in simple json file, and your staging and production connection string in environment