Contents tagged with Orchard gems
Catching exceptions with the type of the base Exception class is bad practice. "Never catch an exception you can't handle" says the proverb we all know from kindergarten. But what if we get our dependencies injected by requesting objects by their interface types?
The Orchard content model is a beautiful thing: the concept of extensible content types, the ability to fine-tune every aspect of content management gives us a very powerful toolbox when it comes to handling any type of content.
Proper styling often takes up a big piece of development time, when we're hunting pixels for hours, so that even users looking at the website through a refrigerator's built-in console running some exotic fork of Windows CE can experience the same as an IE 6 user. Just kidding, it's worse than that. Anyway, there is a nice feature in Orchard that could help targeting elements of the layout: automatic classes on the html tag.