Monthly Archives: August 2008

C# Query String Formating

Have you ever had an headache with query string, like for an example “A&B” is your value of parameter “word” in your Url call. http://example.com/?word=A&B But the server will parse the request as the following; Parameter: word    value: B Parameter: B        value: null In which that you want it to parse as; Parameter: word    value: A&B The HttpUtility.UrlEncode(string

F# TAB Syntax error

Why am I getting an error when using TAB in my F# Code? The TAB Character cannot be used in the #light code, and the F# tools will give an error if they are encountered in your codes. Therefore I like to recommend that you use four-space indentation for your F# code.

Starting F# Interactive in Visual Studio 2008

You can start the F# Interactive in Visual Studio 2008 by selecting Tools > Add-in Manager and then selecting F# Interactive for Visual Studio in the Add-in Manager window. A Window will then appear, and then you could send command to F# Interactive by selecting the text and pressing Alt+Return.

C# Windows Service Visual Studio 2008

Creating a program that can run in the background of the operating system has any benefits, this is very important as the program can run without a graphic user interface. Complex service that are to run are longer time, and without the need the user to login the system. Windows services are harder to develop,