Welcome to ASP.NET Core Bundler

This application demonstrates efficient package management with bundling and minification.

0 CSS Files Bundled
0 JS Files Bundled
0% Compression Ratio

WebOptimizer

Runtime bundling and minification for optimal performance.

Active

BuildBundlerMinifier

Build-time bundling with MSBuild integration.

Configured

NuGet Integration

Seamless package management with .NET ecosystem.

Available

Live Bundling Data

Bundle Status: ✓ Active
Last Updated: Loading...
Assets Loaded: 0
Load Time: 0ms

Bundling Features

  • ✓ CSS and JavaScript bundling
  • ✓ Minification for production
  • ✓ Source maps for debugging
  • ✓ Cache busting with versioning
  • ✓ Environment-based configuration

Sample Website Content

This section demonstrates rich content with various styling elements, images, and interactive components to showcase the bundling benefits.

📸 Sample Image 1
Hero Banner
🖼️ Sample Image 2
Product Showcase
🎨 Sample Image 3
Profile Picture
Rich Text Content

This section demonstrates rich content with various styling elements and interactive components to showcase the bundling benefits. This text demonstrates various formatting options including italics, underlines, and highlighted text.

When bundling is applied, all these styled elements maintain their appearance while reducing the overall file size and improving page load performance through optimized CSS and JavaScript delivery.

Interactive Elements
Type something to see it update below
Your text will appear here...
Selected: None
Status: Enabled
Styled Data Table
# Product Name Category Price Stock Status
1 Premium Widget Electronics $299.99 45 units In Stock
2 Advanced Component Software $149.99 23 units Low Stock
3 Basic Module Hardware $79.99 0 units Out of Stock

Performance Comparison: Before vs After Bundling

See the dramatic improvement in page load times and file sizes after implementing bundling and minification.

❌ BEFORE: Without Bundling
📊 Network Tab Screenshot
bootstrap.css 285 KB
site.css 67 KB
custom.css 34 KB
bootstrap.js 187 KB
site.js 43 KB
utils.js 29 KB
Total File Size: 645 KB
HTTP Requests: 12 requests
Page Load Time: 3.8 seconds
First Paint: 2.1 seconds
DOM Ready: 3.2 seconds
✅ AFTER: With Bundling & Minification
📊 Network Tab Screenshot
bundle.min.css 89 KB
bundle.min.js 67 KB
✨ 10 files consolidated into 2 bundles
Total File Size: 156 KB (76% smaller)
HTTP Requests: 4 requests (67% fewer)
Page Load Time: 1.2 seconds (68% faster)
First Paint: 0.8 seconds (62% faster)
DOM Ready: 1.0 seconds (69% faster)

🚀 Performance Improvements Summary

76%
Size Reduction
68%
Faster Loading
67%
Fewer Requests
2.6s
Time Saved

Advanced Bundling Controls

Interactive controls to demonstrate different bundling configurations and compare results.

View Mode: Toggle between original and bundled version
Bundled Version
Comparison Slider: Compare before/after performance
Before (0%) After (100%)
Current View: 100% Bundled (Optimal Performance)
Bundling Strategy: Select bundling approach
Minification Level: CSS and JS compression

Before vs After: Code Comparison

See the actual code transformation through bundling and minification.

❌ Original Code (Multiple Files)
/* bootstrap.css (285KB) */ .btn { display: inline-block; font-weight: 400; line-height: 1.5; color: #212529; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; background-color: transparent; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; border-radius: 0.375rem; transition: color 0.15s ease-in-out; } /* site.css (67KB) */ .navbar-brand { font-weight: bold; color: #007bff !important; } .content-section { background-color: #fff; border-radius: 8px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } /* bootstrap.js (187KB) */ (function() { 'use strict'; var Bootstrap = { Alert: function(element) { this.element = element; }, Button: function(element) { this.element = element; }, // ... hundreds more lines }; window.Bootstrap = Bootstrap; })(); /* site.js (43KB) */ document.addEventListener('DOMContentLoaded', function() { console.log('Site initialized'); var navLinks = document.querySelectorAll('.nav-link'); // ... more functionality });
✅ Bundled & Minified (Single File)
/* bundle.min.css (89KB) - 76% smaller */ .btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.375rem;transition:color .15s ease-in-out}.navbar-brand{font-weight:700;color:#007bff!important}.content-section{background-color:#fff;border-radius:8px;padding:2rem;margin-bottom:2rem;box-shadow:0 2px 4px rgba(0,0,0,.1)} /* bundle.min.js (67KB) - 73% smaller */ !function(){"use strict";var a={Alert:function(a){this.element=a},Button:function(a){this.element=a}};window.Bootstrap=a}(),document.addEventListener("DOMContentLoaded",function(){console.log("Site initialized");document.querySelectorAll(".nav-link")}); // All 10 files consolidated into 2 optimized bundles // Variables renamed: element→a, Bootstrap→a, etc. // Whitespace removed, comments stripped // Duplicate code eliminated // Unused functions removed via tree-shaking

Page Speed Performance

Real-time performance metrics showing the impact of bundling and minification.

Original Version
34
Google PageSpeed Score
Slow Large Bundle
Current Configuration
89
Google PageSpeed Score
Fast Optimized
Performance Gain
+55
Points Improved
+162% Better

Network Request Waterfall

Visual representation of network requests before and after bundling optimization.

❌ Before Bundling (12 requests)
bootstrap.css
1.2s
site.css
0.6s
custom.css
0.3s
bootstrap.js
1.4s
site.js
0.4s
utils.js
0.2s
Total Load Time: 3.8 seconds
✅ After Bundling (2 requests)
bundle.min.css
0.4s
bundle.min.js
0.5s
✨ 10 files eliminated
---
Total Load Time: 1.2 seconds
(68% faster)

About ASP.NET Core Bundler

A comprehensive solution for asset optimization in web applications.

Technology Stack

Technology Version Purpose Status
ASP.NET Core 7.0 Web Framework Active
WebOptimizer 3.0.384 Runtime Bundling Active
BuildBundlerMinifier 3.2.449 Build-time Bundling Configured
Bootstrap 5.2.3 UI Framework Loaded
Gulp 4.0.2 Task Automation Available
Webpack 5.75.0 Module Bundling Available

Performance Metrics

85% size reduction
78% size reduction
92% reduction

Features & Benefits

Development Features
  • Hot reload for instant feedback
  • Source maps for debugging
  • Automatic dependency resolution
  • Error reporting and logging
Production Optimizations
  • Minification and compression
  • Tree shaking for unused code
  • Cache busting with versioning
  • CDN integration support

Contact & Documentation

Get support and learn more about the bundling system.

Quick Actions

System Information

Environment: Production
Bundle Version: 1.0.0
Cache Status: Enabled
Optimization Level: Maximum
Memory Usage: 2.4 MB
Build Time: 1.2s

Configuration Files

bundleconfig.json

Build-time bundling configuration

package.json

NPM dependencies and scripts

webpack.config.js

Webpack bundling settings