FindSoftware

WebOptimizer

ASP.NET Core middleware that bundles and minifies CSS and JavaScript files at runtime and keeps the output in memory.

WebOptimizer is middleware for ASP.NET Core that bundles and minifies CSS and JavaScript files while the application runs. It is registered through services.AddWebOptimizer and app.UseWebOptimizer. The pipeline is set up when the application starts, and each output is generated on the first browser request for it.

Bundles and minification rules are defined in code and can use glob patterns. The output is kept in memory and not written to disk. Tag helpers add a version string to the script and link tags that refer to registered files, and an inline attribute copies a file’s content into the page.

Worth knowing

The library runs inside the ASP.NET Core application it is added to, so the application process produces the bundles. The README describes memory and disk caches as settings, and the disk cache is meant to speed up application restarts.

Identity

Status
Active
Maintainer
LigerShark4
First release
20175

Rendering and deploy

Install with
dotnet add package3

Releases

Current major version
35
Last release
2025-09-035

Adoption

GitHub stars
8391
Contributors
606

Why these figures do not compare

Sources

  1. 2026-10-28: links, Written in, License, GitHub stars
    api.github.com/repos/ligershark/WebOptimizer
  2. 2026-10-28: links
    ligershark.github.io/WebOptimizer/
  3. 2026-10-28: Categories, Built on, Runtime, Install with
    raw.githubusercontent.com/ligershark/WebOptimizer/master/README.md
  4. 2026-10-28: Maintainer, Runtime, Minimum runtime, License
    raw.githubusercontent.com/ligershark/WebOptimizer/master/src/WebOptimizer.Core/WebOptimizer.Core.csproj
  5. 2026-10-28: Current major version, Last release, First release
    api.nuget.org/v3/registration5-semver1/ligershark.weboptimizer.core/index.json
  6. 2026-10-28: Contributors
    api.github.com/repos/ligershark/WebOptimizer/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON