[Azure function]Please support [Disable] attribute for isolated-worker mode
hi team, in Azure function isolated-worker mode, we need something similar to [Disable] attribute - which available in in-process mode. Because we want the ability to disable many functions / group of functions easily , it can only be done with [Disable] attribute. Thank you
Thanks for reporting will discuss and update.
+1 here.
+1 here And also [Singleton] support in isolated.
Providing an update here.
Although the DisabledAttribute works in some contexts, there are several scenarios where the in-proc behavior leads to issues. In order for us to bring this functionality forward to isolated, some additional platform and host work would need to be completed to make sure the current issues are addressed. This is particularly important in the newer Flex consumption SKU, as it could lead to problems that could potentially cause over scaling (and higher bills).
The host change is tracked by https://github.com/Azure/azure-functions-host/issues/10216. Once that's in place, the platform would also need to be updated.