Here is appsettings.json
1 | { |
Here is program.cs
1 | using System; |
There’s a nuget library called Serilog.Settings.Configuration that can be used to read the configuration from appsettings.json.
Here is appsettings.json
1 | { |
Here is program.cs
1 | using System; |
There’s a nuget library called Serilog.Settings.Configuration that can be used to read the configuration from appsettings.json.