Posts Tagged ‘MVC’
You’ve sucked all the blood out of me. Hence, the bottomless silence. That said, I’ve finished creating a working version of Big Fat Dish. Joy almighty! Beer and Cool-aid-induced unconsciousness await!
When we talk about “improving” our skills as knowledge-hungry developers, I find it interesting that we rarely mention the people in our lives (not Karl Seguin, alas) who we inevitably and repeatedly injure with our sloppiness: namely, designers. Yes, those people, over there, cloaked in Urban Outfitter attire, crying, listening to Bon Iver (or, like, whatever).
Like to Read About MVC? Check out my personalized list of the Best Asp.Net MVC Books. And chime in with your own favorites, if you’d like.
In my previous post, we built a modal popup that grabbed its contents from a good old-fashioned MVC partial. In this post, we’ll go a step further. We’ll handle a form submission in our modal popup, and, when necessary, we’ll update the modal popup with validation messages sent back to us by the server. It doesn’t look like much, but it’s a technique that takes a little tender love and care.
For exemplary purposes, we’ll be creating one of those borderline-cliche “Sign In” popups. The content in our popup will reside in a partial control (.ascx page), and we’ll be magically rendering the popup as a modal element using jQuery (heard of it?) and colorbox. Fun times.
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.
In this post, we’ll create Cache and Compression ActionFilterAttributes. The code for these ActionFilterAttributes comes almost directly from Kazi Manzur’s blog post, ASP.NET MVC Action Filter – Caching and Compression. Much thanks to Kazi for the hard work. I’ve made a few minor modifications here, but the idea remains wholly and unabashedly Kazi’s.
Tired of Firebug telling you to add expire headers to your image files? Well, here’s a quick tutorial that’ll shut the ol’ Firebug up. It’ll also help to speed your fancy lady-site up, which will surely put a smile on your mouth-adorned users’ faces.

