title: How does javascript version (asp-append-version) work in ASP.NET Core MVC?
body: <p>It seems that there is no dynamic bundling supported in the new MVC (<a href="https://stackoverflow.com/questions/32155362/migrating-asp-net-mvc-5-bundling-versions-to-mvc-6">link</a>), and it should be done using a gulp task. MVC supports some new attribute called <code>asp-append-version</code>, but I have not found any explanation on how it works. I suspect that it's calculating some hash of the file contents and even updates it after a file change. Is there any documentation on how it works?</p>
  
  <p>I am also wondering how it detects the file changes or whether it just recalculates the hash each time the MVC parses razor markup.</p>