Bertrand Le Roy
Bertrand Le Roy, PhD, is a Program Manager in the ASP.NET team, specializing on Ajax. He represents Microsoft at the OpenAjax Alliance. He blogs about new and future features of ASP.NET, tips, tricks and samples for advanced and beginner ASP.NET developers and sometimes other random musings.
Tales from the Evil Empire | 06 Sep 2013 23:25
Bertrand Le Roy writes "....Workflows in Orchard 1.7 are a damn sweet feature, and in this post I’m going to show you a very simple and useful case: comment moderation and notifications. Let’s begin by going to the Modules screen and checking that the older Rules module is..."
Read more » My workflow for comment notifications
Tales from the Evil Empire | 14 Jul 2013 00:09
Bertrand Le Roy writes "....Managing dependencies in any project presents challenges, but open source adds its own constraints. In the wake of the release by Microsoft of new and useful libraries that are unfortunately encumbered by unacceptable licensing restrictions, I..."
Read more » How Orchard deals with dependency licenses
Tales from the Evil Empire | 30 Jun 2013 22:13
Bertrand Le Roy writes "....I’ve written several times about image resizing in .NET, but never in the context of Orchard. With the imminent release of Orchard 1.7, it’s time to correct this. The new version comes with an extensible media pipeline that enables you to define..."
Read more » Effortlessly resize images in Orchard 1.7
Tales from the Evil Empire | 15 Apr 2013 19:51
Bertrand Le Roy writes "....If you’ve ever tried to test Orchard part drivers, you may have been blocked by the fact that the methods on drivers are protected. That, fortunately, doesn’t mean they are untestable. Those methods are still accessible through explicit interface..."
Read more » Testing Orchard drivers
Tales from the Evil Empire | 15 Apr 2013 00:04
Bertrand Le Roy writes "....I really like jQuery’s pattern of attribute getters and setters. They are fluent and work really well with HTML and XML DOMs. If you specify a value in addition to the name, it’s setting, otherwise it’s getting. In C#, we have an OK API for XML,..."
Read more » A C# helper to read and write XML from and to objects
Tales from the Evil Empire | 11 Apr 2013 05:14
Bertrand Le Roy writes "....I was setting up a new Raspberry Pi under Raspbian on a Samsung monitor the other day. If you don’t do anything, Raspbian and the Pi will attempt to detect the modes supported by your monitor and will make a choice of what seems best to it. And..."
Read more » Getting your Raspberry Pi to output the right resolution
Tales from the Evil Empire | 04 Apr 2013 02:02
Bertrand Le Roy writes "....It is often useful to see what database queries were made during a specific request in Orchard. There are quite a few ways to do this (you can trace right from SQL Server, or you can use Mini-Profiler for instance), but this morning Sébastien showed..."
Read more » Logging SQL queries in Orchard
Tales from the Evil Empire | 22 Mar 2013 05:04
Bertrand Le Roy writes "....Today my five-year-old told me that when she was four, she thought that what came after ninety-nine was… tenty. You know, because seventy, eighty, ninety, tenty. At first I thought it was just funny and charming, but then I realized it was actually..."
Read more » This is how we should read hexadecimal…
Tales from the Evil Empire | 12 Mar 2013 18:52
Bertrand Le Roy writes "....If your hosted environment does not give you a staging site and the means to swap it easily with the production environment like Azure Cloud Services do, or if you don’t have a staging database, or if you just need to take your site offline for the..."
Read more » Taking an Orchard site offline while you update it
Tales from the Evil Empire | 08 Mar 2013 18:29