Categories: Notes, ASP.NET, C#

Worst code ever seen

May 15th, 2013
Hi 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, 2011
For 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, 2011
Euss 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 enable true intellisense on javascript files

February 9th, 2010
Hi all, I have just read a post I thought I should share with you. You may have already heard about jquery and the fact that with the version 1.3, there was a vsdoc file that you could download so that you could have intellisense while writing javascri… more »

How to improve your intranet ASP.NET web application performance ?

January 7th, 2010
Hi, 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, 2009
As 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 »

Reusable singleton in ASP.NET Context

August 5th, 2009
Hi everyone,After reading Ayende Rahien's post, I told my self that I had to share my Http Singleton module I am using for some time now. This module enables me with a few lines of code to have a single instance of what ever I could want. If like Aye… more »

Parameterized Modal Popup

Août 3rd, 2009
Hello everyone,Maybe some among of you ever had this issue : open a modal popup (here with AjaxControlToolkit), and being able to give it a parameter, the id of the control which opened the popup for example. It is entirely doable, it just need som… suite »

jQuery Control Toolkit

June 6th, 2009
Hello everyone,It's been a long time since I posted something on my blog. I was a little busy with my work. But this work enables now me to introduce you a new codeplex project : jQuery Control Toolkit. The aim of the project is to be able to use jQu… more »

XNA Designer 0.1

February 24th, 2009
Hello 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 »

Assemblies EmbeddedResources with .NET 3.5 SP1

September 28th, 2008
Hello everyone,It's been a long time since posting. I've just installed the new SP1 for VS2008, and .NET 3.5 SP1. Then, I've been struggling with assemblies and embedded resources. Before installing it, if I had an assymbly with the default namespace… more »

Generic Visitor Implementation thanks to C# 3.0

June 27th, 2008
Hi,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, 2008
Generics 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 »