C#C
C#3y ago
Sun

How to get configurations variables?

I'm new to asp.net, been trying to create some apis.
For now, I'm trying to get the db connection string, out of the appsettings.json. Is that possible or would I need to use something like
.env
variables with some extra configuration?
Was this page helpful?