【原创】ASP.NET Core 6 的 Program.cs 中读取配置文件appsettings.json
appsettings.json文件内容{"Logging":{"LogLevel":{"Default":"Information","Microsoft.AspNetCore":"Warning"}},"AllowedHosts":"*","ConnectionStrings":{"OracleConnection":"UserId=MyOracle;Password=OracalPasswo