Configure ServiceStack using the .net core IConfiguration system
Inspect Program.cs for yourself to see how to configure ServiceStack using IConfiguration. Settings for ServiceStack are stored in the servicestack.json file.
cd demo_config
dotnet restore
dotnet run # or dotnet watch
Visit http://localhost:5000/settings.json
- Notice the "ServiceStack:*" settings.
- Notice the "USER" environment variable that was overriden by the servicestack.json file
Visit http://localhost:5000/config.json
This object is used to configure the ServiceStack AppHost