title: Querying Azure Web Apps Version Number
body: <p>We are deploying to Azure Web App slots using VSTS. We want a way for the website to know its build number for versioning purpose.</p>
  
  <p>We thought of setting the VSTS build as an environment variable during the release process as the Azure Web App website has access to the environment variable.</p>
  
  <p>And we also noticed that VSTS warns you before releasing to VSTS that you are releasing the same build again, so there must be a way that VSTS is querying Azure Web App for this.</p>
  
  <ul>
  <li>Is there a standard way of knowing the build version from within the website?</li>
  <li>If not, is there a better way of querying the version number other than having an environment variable during the release?</li>
  </ul>