Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

JavascriptHelper:Managing JS files for ASP.NET MVC (With Bundling)

, 30 Jun 2012 CPOL
JavascriptHelper is a MVC component which allows you to specify that a JavaScript file is needed, wherever you need it and the helper will collection them all up, plus all their dependencies and insert all the (along with their associated CSS files) tags in one spots in the layout.
JavascriptHelper-Src.zip
javascripthelper
JavascriptHelperMvc4
App_Data
App_Start
Components
Content
images
ui-bg_flat_0_aaaaaa_40x100.png
ui-bg_flat_75_ffffff_40x100.png
ui-bg_glass_55_fbf9ee_1x400.png
ui-bg_glass_65_ffffff_1x400.png
ui-bg_glass_75_dadada_1x400.png
ui-bg_glass_75_e6e6e6_1x400.png
ui-bg_glass_95_fef1ec_1x400.png
ui-bg_highlight-soft_75_cccccc_1x100.png
ui-icons_222222_256x240.png
ui-icons_2e83ff_256x240.png
ui-icons_454545_256x240.png
ui-icons_888888_256x240.png
ui-icons_cd0a0a_256x240.png
themes
base
Controllers
favicon.ico
Global.asax
JavascriptHelperMvc4.csproj.user
Models
Properties
Scripts
Views
Home
Shared
JSHelperDemo
App_Data
bin
EntityFramework.dll
JSHelperDemo.dll
JSHelperDemo.pdb
Components
Content
themes
base
images
ui-bg_flat_0_aaaaaa_40x100.png
ui-bg_flat_75_ffffff_40x100.png
ui-bg_glass_55_fbf9ee_1x400.png
ui-bg_glass_65_ffffff_1x400.png
ui-bg_glass_75_dadada_1x400.png
ui-bg_glass_75_e6e6e6_1x400.png
ui-bg_glass_95_fef1ec_1x400.png
ui-bg_highlight-soft_75_cccccc_1x100.png
ui-icons_222222_256x240.png
ui-icons_2e83ff_256x240.png
ui-icons_454545_256x240.png
ui-icons_888888_256x240.png
ui-icons_cd0a0a_256x240.png
ui
images
222222_11x11_icon_arrows_leftright.gif
222222_11x11_icon_arrows_updown.gif
222222_11x11_icon_close.gif
222222_11x11_icon_doc.gif
222222_11x11_icon_folder_closed.gif
222222_11x11_icon_folder_open.gif
222222_11x11_icon_minus.gif
222222_11x11_icon_plus.gif
222222_11x11_icon_resize_se.gif
222222_256x240_icons_icons.png
222222_7x7_arrow_down.gif
222222_7x7_arrow_left.gif
222222_7x7_arrow_right.gif
222222_7x7_arrow_up.gif
2e83ff_256x240_icons_icons.png
454545_11x11_icon_arrows_leftright.gif
454545_11x11_icon_arrows_updown.gif
454545_11x11_icon_close.gif
454545_11x11_icon_doc.gif
454545_11x11_icon_folder_closed.gif
454545_11x11_icon_folder_open.gif
454545_11x11_icon_minus.gif
454545_11x11_icon_plus.gif
454545_256x240_icons_icons.png
454545_7x7_arrow_down.gif
454545_7x7_arrow_left.gif
454545_7x7_arrow_right.gif
454545_7x7_arrow_up.gif
888888_11x11_icon_arrows_leftright.gif
888888_11x11_icon_arrows_updown.gif
888888_11x11_icon_close.gif
888888_11x11_icon_doc.gif
888888_11x11_icon_folder_closed.gif
888888_11x11_icon_folder_open.gif
888888_11x11_icon_minus.gif
888888_11x11_icon_plus.gif
888888_256x240_icons_icons.png
888888_7x7_arrow_down.gif
888888_7x7_arrow_left.gif
888888_7x7_arrow_right.gif
888888_7x7_arrow_up.gif
bg.gif
cccccc_40x100_textures_03_highlight_soft_75.png
cd0a0a_256x240_icons_icons.png
colorpicker_background.png
colorpicker_hex.png
colorpicker_hsb_b.png
colorpicker_hsb_h.png
colorpicker_hsb_s.png
colorpicker_indic.gif
colorpicker_overlay.png
colorpicker_rgb_b.png
colorpicker_rgb_g.png
colorpicker_rgb_r.png
colorpicker_select.gif
colorpicker_submit.png
custom_background.png
custom_hex.png
custom_hsb_b.png
custom_hsb_h.png
custom_hsb_s.png
custom_indic.gif
custom_rgb_b.png
custom_rgb_g.png
custom_rgb_r.png
custom_submit.png
dadada_40x100_textures_02_glass_75.png
e6e6e6_40x100_textures_02_glass_75.png
fbf9ee_40x100_textures_02_glass_55.png
fef1ec_40x100_textures_05_inset_soft_95.png
ffffff_40x100_textures_02_glass_65.png
ffffff_40x100_textures_02_glass_75.png
loading.gif
progress-bg.gif
select.png
select2.png
spinner-bg.gif
tab.png
ui-anim.basic.16x16.gif
ui-bg_glass_75_e6e6e6_1x400.png
themes
base
images
222222_256x240_icons_icons.png
2e83ff_256x240_icons_icons.png
454545_256x240_icons_icons.png
888888_256x240_icons_icons.png
cccccc_40x100_textures_03_highlight_soft_75.png
cd0a0a_256x240_icons_icons.png
dadada_40x100_textures_02_glass_75.png
e6e6e6_40x100_textures_02_glass_75.png
fbf9ee_40x100_textures_02_glass_55.png
fef1ec_40x100_textures_05_inset_soft_95.png
ffffff_40x100_textures_02_glass_65.png
ffffff_40x100_textures_02_glass_75.png
ui-anim.basic.16x16.gif
ui-bg_flat_0_aaaaaa_40x100.png
ui-bg_flat_75_ffffff_40x100.png
ui-bg_glass_55_fbf9ee_1x400.png
ui-bg_glass_65_ffffff_1x400.png
ui-bg_glass_75_dadada_1x400.png
ui-bg_glass_75_e6e6e6_1x400.png
ui-bg_glass_95_fef1ec_1x400.png
ui-bg_highlight-soft_75_cccccc_1x100.png
ui-icons_222222_256x240.png
ui-icons_2e83ff_256x240.png
ui-icons_454545_256x240.png
ui-icons_888888_256x240.png
ui-icons_cd0a0a_256x240.png
default
images
000000_40x100_textures_01_flat_10.png
222222_256x240_icons_icons.png
228ef1_256x240_icons_icons.png
666666_40x100_textures_08_diagonals_thick_20.png
b81900_40x100_textures_08_diagonals_thick_18.png
eeeeee_40x100_textures_03_highlight_soft_100.png
ef8c08_256x240_icons_icons.png
f6a828_500x100_textures_12_gloss_wave_35.png
f6f6f6_40x100_textures_02_glass_100.png
fdf5ce_40x100_textures_02_glass_100.png
ffd27a_256x240_icons_icons.png
ffe45c_40x100_textures_03_highlight_soft_75.png
ffffff_256x240_icons_icons.png
ffffff_40x100_textures_02_glass_65.png
Redmond
images
ui-anim.basic.16x16.gif
ui-bg_flat_0_aaaaaa_40x100.png
ui-bg_flat_55_fbec88_40x100.png
ui-bg_glass_75_d0e5f5_1x400.png
ui-bg_glass_85_dfeffc_1x400.png
ui-bg_glass_95_fef1ec_1x400.png
ui-bg_gloss-wave_55_5c9ccc_500x100.png
ui-bg_inset-hard_100_f5f8f9_1x100.png
ui-bg_inset-hard_100_fcfdfd_1x100.png
ui-icons_217bc0_256x240.png
ui-icons_2e83ff_256x240.png
ui-icons_469bdd_256x240.png
ui-icons_6da8d5_256x240.png
ui-icons_cd0a0a_256x240.png
ui-icons_d8e7f3_256x240.png
ui-icons_f9bd01_256x240.png
Controllers
Global.asax
JSHelperDemo.csproj.user
Models
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
JSHelperDemo.dll
JSHelperDemo.pdb
ResolveAssemblyReference.cache
TempPE
Properties
Scripts
ui
i18n
Views
Home
Shared
packages

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

James Curran
Web Developer AFS Technologies
United States United States
20+ years as a developer : Assembly, C, C++ and C# (in that order) with sidelines in ASP/VBScript, ASP.Net, JavaScript, Perl, QuickBasic, VisualBasic, plus a few others which I'm not going to mention because if I did someone might ask me to use them again (shudder)
 
Microsoft MVP in VC++ (1994-2004)
 
I also run www.NJTheater.com as a hobby.
 
Full resume & stuff at NovelTheory.com
 
Underused blog at HonestIllusion.com
Follow on   Twitter

| Advertise | Privacy | Mobile
Web01 | 2.8.141022.2 | Last Updated 30 Jun 2012
Article Copyright 2012 by James Curran
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid