Introducing ASP.NET MVC 4 BundleTables
Upon creating a new project in ASP.NET MVC 4, you’ll notice that your default _Layout.cshtml file will reference System.Web.Optimization and BundleTable.Bundles in its head.
According to Microsoft, these references are for the beta and will be accessed via a helper in the RTM release, expected sometime next quarter.
<link href="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Content/css")" rel="stylesheet" type="text/css" />
<link href="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Content/themes/base/css")" rel="stylesheet" type="text/css" />
If you look at the actual source code in the browser, you will see these get rendered as:
<link href="/Content/css?v=x" rel="stylesheet" type="text/css" />
<link href="/Content/themes/base/css?v=y" rel="stylesheet" type="text/css" />