简体   繁体   中英

Azure functions local development

Is there a way that I can configure an azure function which is developed and running on local azure runtime to talk Azure DB sql sever. In the azure portal I could use App Settings to configure and use System.Configuration to get setting from the App Settings. I could not find any App.config or Web.config files when I create a new function App Project in VS 2017. I could hard code the connection string but I was wondering is there a better way to do this.

Thanks

This is what the local.settings.json file is for. It is used to store the settings you would store at the Azure Functions Settings level when running out in Azure.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM