4 ms·
There’s a nice bug with azure functions where it reports the environment it’s running in as “development” when it should be “production”, which means the app us
by nickkell 5y ago
There’s a nice bug with azure functions where it reports the environment it’s running in as “development” when it should be “production”, which means the app uses the wrong settings.
Nothing in the documentation to mention this, you just need to deploy and learn from your mistakes!
- stillblue 5y agoI remember this one!!!! I spent about a week and a half trying to figure this one out. Holy shit. Has your trauma waned off?
- nickkell 5y agoFortunately the impact to us was quite small, but it's definitely left a sour taste in my mouth as far as azure functions go. The whole story regarding organizing the code, breaking changes between versions, confusing plans, different styles of configuration between that and aspnet web apis, trying to configure individual functions in the same app without affecting others, etc. is not good!