.Net 8.0, Read settings from appSettings.json file in console application

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

ConfigurationBuilder does not have AddJsonFile function for some reason.

ByanGwok
Автор

'The configuration file 'appsettings.json' was not found and is not optional. The expected physical path was '[Project I have the JSON file in the root of my project, where should I put it? you did not cover that.

TonyLoco