Tales from the Evil Empire

Bertrand Le Roy's blog

  • On dependencies, dependency injection, and sanity

    What's interesting about debacles such as the recent left-padding madness is how it can get you to re-think seemingly obvious concepts, and challenge some basic assumptions. Here's in particular a little reflection that just occurred to me on the way between the bathroom and my office, and that may seem super-obvious to some of you. It wasn't to me, so here goes, I'm sharing…

  • Easy custom RSS in Orchard

    Orchard adds RSS automatically to everything that looks like a list of content items: blog posts, of course, but also comments, projections, lists, search results, tags, etc. I’ve explained before how RSS works internally, but adding a new feed from code can look like a daunting task if you’re not an experienced Orchard developer. Fortunately, there is another feature related to RSS that makes it possible to create custom RSS without writing a line of code.

  • Why I prefer spaces to tabs

    Coding convention discussions are always fun. I just had one of them on the weekly Orchard meeting, where I’ve joked that spaces are objectively superior to tabs, by which I meant that there are objective arguments in favor of spaces that I find subjectively compelling..

  • Liberté, Égalité, Fraternité

    They hate joy.

    They hate freedom.

    They hate peace.

    They hate life.

    They hate what we are: joyful, free, peaceful, and alive.

    So they scream, they enslave, they wage war, and they kill.

    They can kill us, but they won’t kill joy, freedom, peace, or life.

    We’re stronger.

    We stand together.

    We are the Human Family.

  • Sprinkling some C#6 fairy dust on FluentPath

    I moved my FluentPath library’s source code from CodePlex to GitHub, and while I was at it, I vacuumed a bit, removed the cobwebs, and decided to see what applying some C#6 goodness would do to my code. Usually, I would not advise anyone to touch existing, working code that way just for the sake of using the new features: if it ain’t broke… But I wanted to kick the tires, you know? Just don’t start sending people pull request with that sort of crap, that would just be rude ;)

  • Orchard Harvest 2015 – ASP.NET MVC 6 Tag Helpers

    Taylor Mullen was here to introduce the tag helpers that are going to be added to ASP.NET MVC 6, basically to replace HTML helpers. Tag helpers are html tag-like bits of C# code. Because they are essentially C#, you can get all the benefits of the IDE, such as IntelliSense and refactoring.