0
aggarwal created
Hi,
I have coded a new integration. I want to store the url and secrets etc in the appsettings.json.
Is there a class available to retrive the setting in code? Any pointers/examples will be much appreciated.
Cheers, Vikas
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
Try to inject IConfigurationRoot directly or use ASP.NET Core Options
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks. will try.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)