This sample contains a simple timer webjob which will run every couple of seconds and dump the contents of IConfiguration
to the console.
IConfiguration
has the following features:
- Is available via dependency injection
- Resolves the
appsettings{environment}.json
file which can be controlled by setting the environment variableDOTNET_ENVIRONMENT
.
- Clone this repository
- Make sure you have the storage emulator or something similar running (see appsettings.json)
- Execute
dotnet run