Category: C#
Worst code ever seen
May 15th, 2013Hi all,It's been a long time. Yesterday, I felt upon the worst code ever seen in just 5 lines !public IEnumerator<T> GetEnumerator() { var pos = 0; while (pos < _data.Count()) {… more »
The way we build UI is changing
October 18th, 2011For some time now, I am working on a UI framework in .NET. This framework potentially can generate a UI for everything. For now, WPF and HTML rendering are implemented. What I have discovered when working on this framework, is that our UI needs have chan… more »
Asynchronous EUSS !
February 4th, 2011Euss evolves ! From now on, asynchronous request are available. At least, the most basic engine can deal with them (the memory engine). It is almost the end of DataService more »
How to improve your intranet ASP.NET web application performance ?
January 7th, 2010Hi, Have you ever had a look on the number of request made by an intranet web application ? I put a premium on Intranet because I am talking about the windows authenticated web applications. Generally, for applications like these, we configure them to… more »
How to make an HTTP proxy
October 24th, 2009As you have seen, I have recently updated my zeroconf codeplex project. This project not only contains an implementation of the DNS protocol and of the Bonjour protocol. It also contains an implmentation of the HTTP protocol to be able to send some HTTP… more »
XNA Designer 0.1
February 24th, 2009Hello everyone,I've updated my XNA codeplex project. Now, the designer works, is (more or less) beautiful. Moreover, you may also download a component library containing game components : cameras, model viewer, cube, stairs, wall, ... You can hav… more »
Generic Visitor Implementation thanks to C# 3.0
June 27th, 2008Hi,I've finally achieve my dream : Having a generic visitor ! How did I do that, really simple : I used extension methods. I let you see the class you may understand better if I don't explain ;)public static class VisitorHelper{ public… more »
Generics in C#
June 1st, 2008Generics in C#Have you already used generics in C# ? Yes ? Then you may already have struggled with the issues I'm going to talk about.When you are in a generic method, you may want to cast your generic object into another type to do some specifi… more »