Does SqlClient support provider related settings added in appsettings.json file for ASP.NET core apps #1571
-
I am planning to use SqlClient library for my ASP.NET core sample app. Let me know if this clear or I need to be more specific? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
what all settings I may add in that, also the specific keys to which I will be adding my values to? @Trivedi-Ashish Yes, you can use appsettings.json in ASP.NetCore Application for using Microsoft.Data.SqlClient features. The settings depends upon feature and design you will be using in application, just as for opening a connection you can set connection string as a setting. You may choose any feature setup requirements to be configured in appsettings.json. |
Beta Was this translation helpful? Give feedback.
what all settings I may add in that, also the specific keys to which I will be adding my values to?
@Trivedi-Ashish Yes, you can use appsettings.json in ASP.NetCore Application for using Microsoft.Data.SqlClient features.
The settings depends upon feature and design you will be using in application, just as for opening a connection you can set connection string as a setting. You may choose any feature setup requirements to be configured in appsettings.json.