Skip to content

A plugin for Glimpse which exposes Asp.Net MVC Bundles and whether they were used on the current page request.

License

Notifications You must be signed in to change notification settings

stevehobbsdev/Glimpse.Plugins.Bundling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glimpse.Plugins.Bundling

A plugin for Glimpse which exposes Asp.Net MVC Bundles and whether they were used on the current page request.

Install through Nuget:

Install-Package Glimpse.Plugins.Bundling

The plugin simply shows which bundles have been created and what their contents are. You can also see which transforms are in use, the CDN path (if any) and what Orderer instance is being used.

No boilerplate code is necessary - simply install the package through Nuget, and rebuild.

Plugin Screenshot

Viewing included Bundles

The bundles that have been included and used on the current page can be viewed (seen highlighted in green in the screenshot above) by registering a HTTP handler, as follows:

<modules>
	<add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" preCondition="integratedMode" />
	
	<!-- Register this handler to view process bundles on the page -->
	<add name="GlimpseBundlePluginHttpModule" type="Glimpse.Plugins.Bundling.GlimpseBundlePluginHttpModule, Glimpse.Plugins.Bundling" preCondition="integratedMode" />
</modules>

About

A plugin for Glimpse which exposes Asp.Net MVC Bundles and whether they were used on the current page request.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages