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 | 22 Oct 2014 16:17

Some Node pitfalls – 1. Global stateSubscribe to this feed

Bertrand Le Roy writes "....I’ve been teaching myself Node over the last few weeks, by building a non-trivial application. In the process, I’ve been faced with a number of difficulties that I think are worth blogging about. First, let me say that I really like Node. It’s fast,..."
Read more »  Some Node pitfalls – 1. Global state


Tales from the Evil Empire | 21 Oct 2014 08:00

For the love of OCD, show whitespace in your IDESubscribe to this feed

Bertrand Le Roy writes "....It’s a simple thing, and it will make it immediately obvious when one of your files contains accidental indentation tabs instead of the spaces that should replace them, or trailing spaces. All IDE and code editors have an option to show whitespace...."
Read more »  For the love of OCD, show whitespace in your IDE


Tales from the Evil Empire | 20 Oct 2014 08:00

Identity in Orchard Import/ExportSubscribe to this feed

Bertrand Le Roy writes "....Orchard has a really neat concept of identity that’s mainly used when importing contents into the CMS. One of the difficulties with importing contents is that you need to make sure that you can import not just new items, but also updates to existing..."
Read more »  Identity in Orchard Import/Export


Tales from the Evil Empire | 15 Oct 2014 16:30

Opting out of anti-forgery validation in OrchardSubscribe to this feed

Bertrand Le Roy writes "....Anti-forgery tokens are a very important security feature of ASP.NET MVC and Orchard. Most of the time, you should keep them in place, and just let the system work its magic. There are a few rare situations however where it’s not the appropriate..."
Read more »  Opting out of anti-forgery validation in Orchard


Tales from the Evil Empire | 13 Oct 2014 08:00

Reducing coupling with dynamic languagesSubscribe to this feed

Bertrand Le Roy writes "....I’m learning Node currently, after years of doing ASP.NET MVC, and a bit of Python on a couple of projects. There are lots of habits to shake off, and there are things that I miss (such as ASP’s outstanding model binding), but there is also a very..."
Read more »  Reducing coupling with dynamic languages


Tales from the Evil Empire | 10 Oct 2014 08:00

WebAPI actions in OrchardSubscribe to this feed

Bertrand Le Roy writes "....Building WebAPI controllers in Orchard is fairly simple: just inherit from System.Web.Http.ApiController. You’ll then be able to inject dependencies exactly in the same way that you would anywhere in Orchard. WebAPI is designed so that the default..."
Read more »  WebAPI actions in Orchard


Tales from the Evil Empire | 07 Oct 2014 08:02

Testing Node.js code that requires JSON filesSubscribe to this feed

Bertrand Le Roy writes "....A preferred way of creating a JavaScript object from a JSON file is to use the require function. Require will take care of the file’s encoding, and will cache the results so reading the same file a second time will not hit the file system...."
Read more »  Testing Node.js code that requires JSON files


Tales from the Evil Empire | 06 Oct 2014 08:00

Some challenges with Node.js on WindowsSubscribe to this feed

Bertrand Le Roy writes "....While there are a couple of really good Node.js IDEs (I use WebStorm), developing for Node on Windows is challenging. The platform is clearly built for Unix-type systems, and Windows support is a lagging afterthought. If your dev machine is running..."
Read more »  Some challenges with Node.js on Windows


Tales from the Evil Empire | 03 Oct 2014 08:01

Building a WebAPI route in OrchardSubscribe to this feed

Bertrand Le Roy writes "....There’s a number of differences between regular MVC controllers and WebAPI controllers that make the latter much more suitable to building APIs: they are REST-centric, they can negotiate the format of the answer, etc. Implementing WebAPI..."
Read more »  Building a WebAPI route in Orchard


Tales from the Evil Empire | 02 Oct 2014 08:00

Cleanly getting a WebAPI action URLSubscribe to this feed

Bertrand Le Roy writes "....Whenever you need to get the URL of a ASP.NET MVC action, you should use Url.Action (where URL is an instance of UrlHelper), and never hard-code the URL. This way, the URL is dynamically constructed from the available information in the Url.Action..."
Read more »  Cleanly getting a WebAPI action URL


This Maven's Blog

Bertrand Le Roy

Microsoft

Redmond, WA