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

bzamfir picture bzamfir · Apr 24, 2013 · Viewed 23.9k times · Source

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

Answer

Matt picture Matt · Apr 24, 2013

See the answers to this question.

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