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 | 16 Jun 2009 23:08
Bertrand Le Roy writes "....If you’re anything like me, you probably litter your code with TODO comments, postponing random tasks for the sake of moving the project forward. And there is of course a non-zero probability that you are going to ship with those comments still in...."
Read more » You can do the TODOs today too!
Tales from the Evil Empire | 15 Jun 2009 22:27
Bertrand Le Roy writes "....I quite like MoQ because it makes sense for me. Shamefully, I’ve always had some trouble understanding test code that was using mocks built with other frameworks. With MoQ, I can just grok it for some reason. It’s just super-clear to me. It doesn’t..."
Read more » Mocking indexer setters with Moq
Tales from the Evil Empire | 06 Jun 2009 00:27
Bertrand Le Roy writes "....Several people have reported seeing errors in their logs that seem to be due to requests such as this: /ScriptResource.axd?d= [lots of junk]& t=ffffffffee24147c The important part here is the HTML-encoded “&” sequence,..."
Read more » Why is ASP.NET encoding &’s in script URLs? A tale of looking at entirely the wrong place for a cause to a non-existing bug.
Tales from the Evil Empire | 22 May 2009 19:13
Bertrand Le Roy writes "....If you haven’t already and you are a .NET developer, please take a couple minutes and answer this survey, whether you use Ajax or not. There are a number of Ajax surveys around, but Simone’s is the only one that focuses on .NET developers. The..."
Read more » Survey: Ajax usage among .NET developers
Tales from the Evil Empire | 21 May 2009 04:59
Bertrand Le Roy writes "....I just posted the following snippet on Twitter. The exercise is to write meaningful and preferably cool code that fits in a Twitter message along with the #twitcode keyword, which leaves 130 characters. private static readonly byte[] _blankGif =..."
Read more » Twitter contest: what can you code in 130 characters?
Tales from the Evil Empire | 15 May 2009 05:04
Bertrand Le Roy writes "....JavaScript has two ways of delaying execution of code: setInterval and setTimeout. Both take a function or a string as the first parameter, and a number of milliseconds as the second parameter. The only difference is that the code provided to..."
Read more » setInterval is (moderately) evil
Tales from the Evil Empire | 14 May 2009 05:19
Bertrand Le Roy writes "....A new version of the AJAX Control Toolkit is now available for download from the CodePlex website. It contains three new controls: HTMLEditor - allows you to easily create and edit HTML content. You can edit in WYSIWYG mode or in HTML source mode...."
Read more » New release of the Ajax Control Toolkit
Tales from the Evil Empire | 05 May 2009 05:23
Bertrand Le Roy writes "....We had an interesting discussion recently on the ASP Insiders mailing list and ended up talking about what cool stuff we could build on top of jQuery. Many interesting things were mentioned and it was a very useful discussion but one suggestion in..."
Read more » Creating jQuery plug-ins from MicrosoftAjax components
Tales from the Evil Empire | 03 May 2009 07:20
Bertrand Le Roy writes "....The Maw is a charming and seriously fun game that is going to make you smile from start to finish. Puzzle Quest is one of those “just one more” time sinks. The improbable mix of puzzle gaming and RPG is just awesome. The sequel, Galactrix, is..."
Read more » Five gems of XBLA
Tales from the Evil Empire | 28 Apr 2009 18:35
Bertrand Le Roy writes "....If you’re still intimidated by jQuery or DOM manipulation in general, if you need to quickly build web animations, if you’re more a designer guy, if you think tooling makes sense, or a combination of the above, you should probably check out Glimmer...."
Read more » Glimmer: visually build jQuery animations and stuff