[responsive-menu menu="HamburgerMenu"]

WCF RIA Security

I was playing a bit with WCF RIA lately. One of the first thing that came to my mind was “ok, this is cool. But how do I secure it?”. I will explain the basics of authentication (determining who the caller is) and authorization (determining what the caller can do). I will not explain how to create RIA services, as there are enough tutorials on the [...]

(Fore)Closure of a dream

A typical beginner pitfall (as well as a classic interview question) is the closure problem. What is closure? Consider this code : var list = new List(); Console.WriteLine("Closure problem.nn"); for (var i = 0; i < 10; i++) { list.Add(new Action(() => Console.WriteLine("Value : " + i))); } foreach (var action in list) { action(); }   Here [...]


Back to business! The hiatus is longer than expected (work + studies = full time) but I see the end. As you can see, I changed my blog. Not only the design, but also the engine. I’m using Orchard. Well, as a .NET expert, it was not good my blog was on PHP 😉 Orchard is quite difficult at first (of course, I should real the doc) but it is amazingly [...]