I would like to be able to display the release number (\*1 in pic) and the build number (\*2 in pic) in Asp.Net MVC Core website - FOR that specific website, which was built and released with Azure DevOps.

So if I check code in for an MVC website, the build and release process kicks in and deploys the website - and now I want the same website to display "Release xxxxx" in the footer.

It could be in a JSON file, an environment variable or something - as long as I can access it from Asp.Net Core, I am happy.

How can that be achieved?

[![](https://i.stack.imgur.com/R0mMv.png)](https://i.stack.imgur.com/R0mMv.png)