Configure .net core console app on docker


What are the best practices regarding configuration of .net core console applications on docker container?

  • If i use environment variables it will be hard to rundebug the app locally (developing on windows).
  • I know the default is the ‘appsettings.json’ and I would like to use yaml instead, is this recommended?
  • Also started to use Autofac so I also need a way to configure components
  • Currently I have a different configuration file for each environment


submitted by /u/aamita00
[link] [comments]

Leave a Reply