Title
Cassette | Asset bundling for .NET web apps
Go Home
Category
Description
Cassette automatically sorts, concatenates, minifies, caches and versions all your JavaScript, CoffeeScript, CSS, LESS, Sass and HTML templates to help you manage your client-side code.
Address
Phone Number
+1 609-831-2326 (US) | Message me
Site Icon
Cassette | Asset bundling for .NET web apps
Page Views
0
Share
Update Time
2022-05-04 02:40:57

"I love Cassette | Asset bundling for .NET web apps"

www.getcassette.net VS www.gqak.com

2022-05-04 02:40:57

Benefits Download Docs Support Donate Asset bundling for .NET web apps Dumping your scripts into a folder is no way to manage your client-side code! Cassette automatically sorts, concatenates, minifies, caches and versions all your JavaScript, CoffeeScript, CSS, LESS, Sass and HTML templates. It's flexible, extensible and optimized for developer happiness. Download Share the love! Tweet “Yeah! Getting some time to experiment with @getcassette to improve the performance of our websites even more!” via @jaspio “Thanks for making my life as dev so easy!! getcassette.net via @getcassette” via @peitor “I'm in love with Cassette” via @schummbo “@getcassette is a fantastic #asp.net-mvc asset manager. Great features, great docs, and a beautiful website too. Thanks getcassette.net” via @mmurch “Excellent! Automagic asset (scripts, CSS, Less, CoffeeScript) management for .NET web apps getcassette.net via @getcassette” via @shanselman “man, @getcassette, please don't be too good to be true, you look so wonderful” via @mmurch “Loving Cassette, every asp.net project should use it. It's so easy, there's no excuse not to getcassette.net via @tommysqueak “My master layout has never been so clean. getcassette.net via @getcassette” via @quentinstarin “@getcassette goes v1.0 and totally MIT license. Now you have no excuse not to use it in every project. #dotnet #nuget #ballin ” via @kamranayub “ @derickbailey @JustinEtheredge we use @getcassette in every one of our projects now. Great development story. ” via @dotnetchris “IMO if you're using ASP.NET MVC without @getcassette then you're doing it wrong.” via @stucampbell “Tested @getcassette and very impressed so far. Get the docs finished and it's nearly perfect. Should be bundled with ASP.NET!” via @kfuglsang “After a little configuration and with help from its owner @andrewdavey Cassette is working extremely well! #minification #css #javascript” via @fransstridh “Nice naming of @getcassette with "asset" --> "cASSETte" #clever” via @JeffHandley Simple install via nuget Also choose from a wide selection of plug-ins that enhance Cassette. Install-Package Cassette.Aspnet Install-Package Cassette.LessInstall-Package Cassette.SassInstall-Package Cassette.CoffeeScript View all plug-ins Elegant configuration API Tell Cassette how to bundle your assets with just a few lines of code. Cassette does the hard work of finding the files, sorting, compiling and minifying. public class CassetteConfiguration : IConfiguration{ public void Configure(BundleCollection bundles) { bundles.Add("Content", bundle => bundle.EmbedImages()); bundles.AddPerSubDirectory("Scripts"); }} Reference and Render Cassette's Bundles helper works in view pages, layouts and partials. Reference the assets or bundles you directly require. Tell Cassette where to render the HTML. @{ Bundles.Reference("content"); Bundles.Reference("scripts/app/page.js");}DOCTYPE html> Web App @Bundles.RenderStylesheets() ... @Bundles.RenderScripts() Debug runtime output When debug="true" in Web.config: Cassette detects file references. All the required scripts are included in the correct order. The hash of each file is appended to each URL as a "cache-breaker". The base-64 encoded SHA-1 hash is used. DOCTYPE html> Web App ... Production runtime output With a single change to Web.config, debug="false", Cassette switches into high performance mode. Cassette concatenates and minifies the scripts into "bundles". HTTP output is compressed. Aggressive cache headers are sent. So browsers download each bundle only once. Hash included in the URL. So new versions have different URLs. DOCTYPE html> Web App ... So much more... This introduction has only scratched the surface of what Cassette can do. Treat your client-side HTML templates as bundles. Add CoffeeScript support by installing the Cassette.CoffeeScript nuget package. Add Less and Sass support by installing Cassette.Less and Cassette.Sass. Cassette provides extensible bundle "pipelines" that allow full control over how bundles are processed. Get Cassette! It's free, open source software, distributed under the MIT License. Download Donate|Contact © 2012 Andrew Davey · Website design by @pixelistUK Icons from Symb.ly, Somicro & The UI Toolkit · Patterns from Subtle Patterns Powered by AppHarbor - .NET cloud application platform Connect with us: