DevMavens

ma•ven (mā'vən)

n.  A person who has special knowledge or experience;
an expert.

dev•ma•ven
('dev-mā'vən)

n.  An expert developer with great influence.

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 | 15 Apr 2013 19:51

Testing Orchard driversSubscribe to this feed

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

A C# helper to read and write XML from and to objectsSubscribe to this feed

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

Getting your Raspberry Pi to output the right resolutionSubscribe to this feed

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

Logging SQL queries in OrchardSubscribe to this feed

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

This is how we should read hexadecimal…Subscribe to this feed

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

Taking an Orchard site offline while you update itSubscribe to this feed

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

Dead simple stubbing for JavaScriptSubscribe to this feed

Bertrand Le Roy writes "....I’m writing a lot of JavaScript these days, and for testing I mostly use QUnit. When I need to quickly stub a piece of the code that I’m testing, I like to use the following micro-library. What it does is enable you to replace a bunch of methods on..."
Read more »  Dead simple stubbing for JavaScript


Tales from the Evil Empire | 25 Feb 2013 01:54

Always have a host or URL prefix on the default Orchard tenantSubscribe to this feed

Bertrand Le Roy writes "....The multi-tenancy feature in Orchard enables you to host multiple sites within the same Orchard instance. It’s not a a security feature, just a way to improve site density, and to enable you to save on hosting costs. Nevertheless, a request to a..."
Read more »  Always have a host or URL prefix on the default Orchard tenant


Tales from the Evil Empire | 14 Feb 2013 00:21

Easy content templates for Orchard, take 2Subscribe to this feed

Bertrand Le Roy writes "....Placement.info is an XML file that orchestrates the different parts of a content item and sends each of the shapes they create into specific local content zones. If the previous sentence sounded confusing to you, fear not, this post is for you...."
Read more »  Easy content templates for Orchard, take 2


Tales from the Evil Empire | 06 Feb 2013 06:21

Creating simple custom Orchard widgetsSubscribe to this feed

Bertrand Le Roy writes "....If you want to create a simple widget in Orchard, such as a box of social links, you have three possibilities: Find a module on the gallery or write one yourself, but there is overhead associated with modules, which may make this overkill...."
Read more »  Creating simple custom Orchard widgets


This Maven's Blog

Bertrand Le Roy

Microsoft

Redmond, WA