I have developed the function using HttpTrigger
and deployed it to Azure
cloud using the publish method. I have multiple environments like development
, test
, and production
.
Now how do I know which successful build I have deployed on different environments? Basically, how do I manage to version it in the cloud?
The same goes for other app services
like a web app.
Do I have to push it from host.json
?
Versioning has to be done for your system from your side, Azure has no idea of maintaining version control for your APIs, Apps, etc.
If you have not implemented CI/CD in your organization, try looking out for the features provided by Azure Devops
The simplest way to implement versioning in Azure Functions is using endpoints
. The HttpTrigger Attribute allows the definition of a custom route where you can set the expected version.
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