I started using Visual Code instead of VS- Unfortunately, I can't figure out how to setup appSettings.config and reference the key values using Configuration Manager.
This line throws a Nullreference exception:
var applicationId = ConfigurationManager.AppSettings["appId"].ToString();
I manually added the file appSettings.config when I created the console application. Here's the Folder structure:
Is there additional configuration needed?

appsettings.configin .NET. In .NET Framework settings are stored inapp.configand accessed throughConfigurationManagerorProperties.Settings. The weekly typed AppSetting is a remnant of .NET Framework 1, way back in 2002. Newer versions use strongly typedApplicationSettingsthat can be edited using a VS GUI designer, accessible throughProperties.Settings.appsettings.jsonjust one of the sources.