Separate appsettings.json by Environment Variable

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • Separate appsettings.json into multiple files based on environment variables like develop, production, stage, etc.

Комментарии • 3

  • @andrey_aka_skif
    @andrey_aka_skif 3 месяца назад

    When using swagger we can use the app.Environment.IsDevelopment(). When using named configuration files we lose this ability. What to do?

    • @ezioauditore4389
      @ezioauditore4389 15 дней назад

      I would like an answer to that questions too. If you have an answer please provide it.

  • @PIMARINE
    @PIMARINE Год назад +1

    Separate is ok, but we have always been better together. 😜1OVE.