You can have one flag in AppSettings.json and use it in any of your file to check. Let me show you an example: