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 | 17 Dec 2014 16:00

The curse of the never-ending async method callSubscribe to this feed

Bertrand Le Roy writes "....Whether you use promises, callbacks, or other abstractions (except maybe the async/await pattern) to deal with asynchrony, control flow is going to get harder to follow. Stack traces are typically meaningless, and finding what went wrong can take..."
Read more »  The curse of the never-ending async method call


Tales from the Evil Empire | 16 Dec 2014 21:03

It’s asynchronous all the way downSubscribe to this feed

Bertrand Le Roy writes "....Captain Obvious has something to tell us: Asynchronous methods can call synchronous ones, but synchronous methods can’t call asynchronous methods, or they must become asynchronous. Duh. What does that mean for the Node.js developer..."
Read more »  It’s asynchronous all the way down


Tales from the Evil Empire | 12 Dec 2014 16:00

Fluent asynchronous API 6: recursive callsSubscribe to this feed

Bertrand Le Roy writes "....This can never work: api .then(function thenRegisterNextTick(next) { process.nextTick(function onTick() { api.finally(next); }); }) .finally(done); The “next” callback function gets called from a promise the execution of..."
Read more »  Fluent asynchronous API 6: recursive calls


Tales from the Evil Empire | 10 Dec 2014 16:00

The mysteries of Orchard’s OEmbedPart, or how to integrate YouTube videosSubscribe to this feed

Bertrand Le Roy writes "....The media library picker field does a fine job of integrating and rendering external videos such as YouTube videos. If you want to customize the rendering of the videos, however, you’ll have to deal with the OEmbedPart (obtainable from..."
Read more »  The mysteries of Orchard’s OEmbedPart, or how to integrate YouTube videos


Tales from the Evil Empire | 09 Dec 2014 16:02

Fluent asynchronous API 5: internally calling methodsSubscribe to this feed

Bertrand Le Roy writes "....One more thing about fluent asynchronous APIs… Because synchronous methods are changed into asynchronous ones by the flasync helper, internal calls of a synchronous method would in principle also have to be asynchronous calls. That would go..."
Read more »  Fluent asynchronous API 5: internally calling methods


Tales from the Evil Empire | 08 Dec 2014 17:00

Fluent asynchronous API 4: Nope, Q won’t workSubscribe to this feed

Bertrand Le Roy writes "....As I said at the end of the previous post, I really thought that a promise library, Q in particular, would help, and would enable me to get rid of my helper library. It turns out, after I tried to make it work, that it won’t. The reasons have to do..."
Read more »  Fluent asynchronous API 4: Nope, Q won’t work


Tales from the Evil Empire | 07 Dec 2014 17:00

Fluent asynchronous API 3: the helper librarySubscribe to this feed

Bertrand Le Roy writes "....In this third post, I’ll show the inner workings of the little helper library that I wrote to build fluent asynchronous APIs. As you’ll see, it’s not simple, but analyzing it does, I hope, give interesting insights about asynchronous programming.In..."
Read more »  Fluent asynchronous API 3: the helper library


Tales from the Evil Empire | 06 Dec 2014 17:00

Fluent asynchronous API 2: building an APISubscribe to this feed

Bertrand Le Roy writes "....In the first post of this series, I established my requirements for a fluent asynchronous API, and showed what using such an API looks like. In this post, I’ll show what the code for the API itself looks like. On this side of things, the..."
Read more »  Fluent asynchronous API 2: building an API


Tales from the Evil Empire | 05 Dec 2014 09:00

Fluent asynchronous API 1: API requirementsSubscribe to this feed

Bertrand Le Roy writes "....Today I built a fluent asynchronous API. This is hard to do if you want the API to remain as close as possible to a synchronous API, but still maintain reliable and consistent asynchronous behavior. There are examples of this around (Erik Meijer’s..."
Read more »  Fluent asynchronous API 1: API requirements


Tales from the Evil Empire | 04 Dec 2014 09:00

Dude, where are my images?Subscribe to this feed

Bertrand Le Roy writes "....So you’ve copied some images somewhere in Orchard’s media folder, but they are not showing… What’s going on? If no media are showing on the site, chances are you’re missing a web.config file under the media folder. Put one in there. If the images..."
Read more »  Dude, where are my images?


This Maven's Blog

Bertrand Le Roy

Microsoft

Redmond, WA