Search code examples
asp.net-mvcbundlesingle-page-application

what is {version} in ScriptBundle("~/scripts/jquery-{version}.js")


I try to get started with MVC SPA apps, and I noticed in BundleConfig the following:

 ScriptBundle("~/scripts/jquery-{version}.js")

How this works? What is {version} and where it it taken from?

And where can find more information this, how BundleConfig works and how to customize it?

Thanks


Solution

  • See the answers to this question.

    Also, check out this link. The Bundling and Optimization section discusses the use of the {version} tag.