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 | 24 Oct 2014 18:29
Bertrand Le Roy writes "....I had a fun discussion with Rob on my last post, which led me to think about global variables and what we mean by “global”. Rob was arguing that a Node module is not strictly speaking global because it isn’t accessible unless you..."
Read more » Fun with word mincing: what’s global?
Tales from the Evil Empire | 22 Oct 2014 16:17
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
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
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
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
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
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
Read more » Testing Node.js code that requires JSON files
Tales from the Evil Empire | 06 Oct 2014 08:00
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
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