Send mail to the author(s) E-mail

# Thursday, 12 December 2013
( Ajax | MVC4 )

MVC4 will automatically minify.


unobtrusive files are the bridges to MVC eg for validation.

Top of page

  • Styles.Render CSS
  • Scripts.Redner modernizr… important for things like IE6.

Bottom on page eg

  • jquery
  • bootstrap

Scripts.Render – bundles and minifys

public class BundleConfig
    // For more information on bundling, visit
    public static void RegisterBundles(BundleCollection bundles)
        bundles.Add(new ScriptBundle("~/bundles/jquery").Include(

        bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(

        // Use the development version of Modernizr to develop with and learn from. Then, when you're
        // ready for production, use the build tool at to pick only the tests you need.
        bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(

        bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(

        bundles.Add(new StyleBundle("~/Content/css").Include(
}  - jQueryUI

Autocomplete ajax could be useful… but..sugar only for now.

| | # 
# Wednesday, 09 February 2011