Skip to content

Does SqlClient support provider related settings added in appsettings.json file for ASP.NET core apps #1571

Closed Answered by Kaur-Parminder
Trivedi-Ashish asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Trivedi-Ashish
Comment options

@Kaur-Parminder
Comment options

@Trivedi-Ashish
Comment options

Answer selected by Trivedi-Ashish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants