Asp.Net MVC programming advice. Toodles, Evan Nagle.

Posts Tagged ‘Stylesheets’

May
28

First, an interesting fact: according to Alexa.com, searches for “css url” account for the largest percent of search traffic pouring into Phil Haack’s blog. Statistically speaking, roughly one percent of all of Phil’s web page hits spawn from the “css url” search. I found that pretty shocking, and, shocking as it is, it’s a fact that either…

May
11

Yesterday, I introduced Zippy. Today, I gave Zippy some serious wings. After taking a look at Justin Etheredge’s Project Formerly Named Bundler (i.e. PFNB), I was inspired to add some Bundler-like functionality to Zippy. As I said in my last post, Zippy is definitely not a full-fledged, complete, fly-off-the-shelf bundling framework like PFNB, but it’s definitely a tool that could be used by anyone who might need a little more control over their, uh, bundling. Truly.

May
10

Alright, friends. So I’ve spent the last couple of days creating my ZipController. You can see the good, the bad, and the ugly by perusing through my posts. This morning, I started my day by cleaning up all the ZipController “demo code,” testing and retesting all of the functionality, and packaging up the whole project as nicely and as neatly as I could for your easy consuming.

May
09

Less for .Net (or .Less, or DotLess, or Less, etc.) is a pretty cool way to make super-wet (or super-lubed?) stylesheets a little bit more, eh, DRY.

May
08

Okay. Easy enough. Let’s return to our ol’ ZipController. Here, we’ll be making some pretty substantial changes. We’ll be adding two new, hearty public methods: Style(string path) and Script(string path). With those methods, we’ll be able to cache, compress, minify, douse in old pig fat, (or, you name it) our javascript and stylesheet files before handing them over to the browser.