I have appsettings.json
in my ASP.NET Core Web API with key and value and it works perfectly:
But, when I want use ConfigurationManager
to get value in MSTEST's method, I always get NULL:
Please, help me, how can I get the correct value?
Thanks a lot