简体   繁体   中英

How do I verify which build version of my functions and web api's are deployed on Azure portal?

I have developed the function using HttpTrigger and deployed 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 in the cloud?

Same goes for other app services like 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 controlling for your APIs,Apps etc.

If you have not implemented CI/CD in your organization, try looking out 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.

you dont, its up to your ci\\cd system to display that information. Azure has no knowledge of the binaries you deploy to webapps\\azure functions\\etc. same goes for vm's, Azure is not aware of what is going on inside them.

The only way that I was able to check:

  • Go to your app service
  • In the left panel search by App service editor
  • Find your DLL
  • Download
  • Use a decompiler and check the code

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM