I have multiple projects with different functions for example
Solution A
Solution B
I have 1 Resource Group (R1) which has Project A functions. If I deploy Project B functions to Resource Group "R1" its removing Project A functions and replacing it with Project B functions.
Is there way to deploy functions from both Project A and Project B together to same Resource Group (R1)?
It's possible for multiple function apps to share the same storage account without any issues. For example, in Visual Studio you can develop multiple apps using the Azure Storage Emulator.
Azure Functions only allow you to map a single route to a function.
So As per Microsoft By default, The Azure Function App that is under the Consumption plan will scale out to as many as 200 instances. Same way, If the Azure Function App is under the Premium plan, then, the Azure Function App can scales out a maximum of 100 instances as per Microsoft.
I test with Visual Studio and it works well.
Your function are overwritten by default is because the value Delete existing files
is set to true when you deploy you choose Select Existing
.
So yo could Edit your Publish Profile Settings. Uncheck the Remove additional files at destination
.
Then you will be able to deploy them together. However the recommend way is to deploy everything as one package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With