jetheredge edited this page Jul 6, 2012 · 6 revisions

For a basic tutorial, please go "here":http://www.codethinked.com/squishit-the-friendly-aspnet-javascript-and-css-squisher

Using SquishIt programmatically without the file system

Quick Reference

Embedded Resources

The format for the resource path is «assemblyName»://«resourceNameFromPath». The name of the assembly must match the default namespace for the assembly, until this bug is resolved.

Example of Adding EmbeddedResource to Bundle:

Bundle.JavaScript().AddEmbeddedResource("~/Content/my.js", "Web.Site.Assembly.Name://Content.my.js")