Archives
-
The Order Issue of XAML Attributes
When programming Silverlight, it is neccessary to pay attention to the order of the XAML element’s attributes. Here is a simple example.
-
Understanding C# Features (9) Partial Method
[LINQ via C#] - [C# Features]
-
Understanding C# Features (10) Query Expression
[LINQ via C#] - [C# Features]
-
Understanding C# Features (5) Lambda Expression, Anonymous Function and Expression Tree
[LINQ via C#] - [C# Features]
-
Understanding C# Features (4) Extension Method
[LINQ via C#] - [C# Features]
-
Understanding C# 3.0 Features (4) Anonymous Type
-
Understanding C# Features (3) Implicit Type and Immutable Anonymous Type
[LINQ via C#] - [C# Features]
-
Understanding C# Features (2) Object Initializer, Collection Initializer and Index Initializer
[LINQ via C#] - [C# Features]
-
Understanding C# Features (1) Auto Property
[LINQ via C#] - [C# Features]
-
Introducing LINQ (2) Advancements Overview
-
Mac OSX Turns Dual Core Laptop into Solo Core
This is blogged because it is surprising. Some months ago my friend and me were investigating Mac OSX for my WebOS, so we installed the latest version on a machine, SAMSUNG R25 XE04 with a T2330 Dual Core CPU. After that, Windows 7 was installed back. However, Windows recognized his laptop as a Solo Core CPU.
-
The Funny Enum.ToString(IFormatProvider) Method
Here is a ToString(IFormatProvider) method on the System.Enum type. It looks a IformatProvider (like CultureInfo) can be passed to this method:
-
C# Coding Guidelines (7) Tools
C# Coding Guidelines:
-
Microsofty Kids Around (3) Mark Junior
Actually this baby is not so Microsofty currently, but his father Mark is so Microsoftily crazy, so everyone believes that he will become so very soon.
-
C# Coding Guidelines (6) Documentation
C# Coding Guidelines:
-
C# Coding Guidelines (5) Exceptions
C# Coding Guidelines:
-
Microsofty Kids Around (2) My Nephew
This is my nephew is very cute. And he is even cuter with this Microsofty T-shirt:
-
C# Coding Guidelines (4) Types
C# Coding Guidelines:
-
C# Coding Guidelines (3) Members
C# Coding Guidelines:
-
The Memory of Programming in Seattle (7) Microsoft Picnic
The Memory of Programming in Seattle:
-
C# Coding Guidelines (2) Naming
C# Coding Guidelines:
-
C# Coding Guidelines (1) Fundamentals
Recently some talks on dos and don'ts of C# 2.0 / 3.0 / 4.0 are delivered for some junior developers in my friend’s team. Since the feedback looks good, those contents are decided to write down.
-
Understanding C# Covariance And Contravariance (8) Struct And Void
Understanding C# Covariance And Conreavariance:
-
Microsofty Kids Around (1) My Nominal Daughter
I am very glad to introduce my nominal daughter (or “dry daughter” in Chinese). This is a kind of Chinese culture. Her parents are my very good friends so she could be treated just like my daughter:
-
The Memory of Programming in Seattle (6) University of Washington
The Memory of Programming in Seattle:
-
The Memory of Programming in Seattle (5) Playing around
The Memory of Programming in Seattle:
-
The Memory of Programming in Seattle (4) Food
The Memory of Programming in Seattle:
-
The Memory of Programming in Seattle (3) Living
The Memory of Programming in Seattle:
-
The Memory of Programming in Seattle (2) Working
The Memory of Programming in Seattle:
-
The Memory of Programming in Seattle (1) Places
Long long ago, I was working in Seattle – actually in Microsoft Redmond campus. That experience gave me a lot of beautiful memories:
-
LINQ via C# Events Posters Design
10 LINQ via C# events have been held successfully. Each event is a pure English speaking technical talk. I designed some posters for the events, with no enough time to design for each event.
-
Introducing CoolWebOS.com
This post is supposed to introduce the so-called WebOS – http://www.CoolWebOS.com/, as well as to have your important feedback.
-
Understanding C# Covariance And Contravariance (7) CLR
Understanding C# Covariance And Conreavariance:
-
A UI bug of Windows Server 2008 R2 RTM
Today when playing with Windows Server 2008 R2 RTM at home, I noticed a small UI bug from the start menu.
-
Understanding C# Covariance And Contravariance (6) Typing issues
Understanding C# covariance and contravariance:
-
Understanding C# Covariance And Contravariance (5) Higher-order functions
Understanding C# Covariance And Conreavariance:
-
Understanding C# Covariance And Contravariance (4) Arrays
Understanding C# Covariance And Conreavariance:
-
Understanding C# Covariance And Contravariance (3) Variances in .NET
Understanding C# Covariance And Conreavariance:
-
Understanding C# Covariance And Contravariance (2) Interfaces
Understanding C# Covariance And Conreavariance:
-
Understanding C# Covariance and Contravariance (1) Delegates
Understanding C# Covariance And Conreavariance:
-
Developing ASP.NET MVC Website in Visual Studio
Sometimes I send ASP.NET MVC project to some senior friends, and ask them for code review. But some of them do not have the Visual Studio ASP.NET MVC add-on installed. So I tried to develop MVC websites in a normal Web application project, so Visual Studio can run the project without installing ASP.NET MVC add-on.
-
Visual Studio ASP.NET Development Server Does Not Work
Recently the ASP.NET development server on my machine could not work. When F5 is pressed in Visual Studio 2008, IE started and displayed “Internet Explorer cannot display the webpage”. This problem nagged me for a couple of days. I checked a lot of things, including logs, firewall, anti-virus software, project settings, the webdev.webserver.exe process, etc. They did not work. Finally I find my hosts file was somehow modified:
-
Understanding The Internet File Blocking and Unblocking
On Windows XP SP2 + IE 7 and later Windows, files from Internet are marked. Sometimes this feature causes problems.
-
Automated Web Testing (2) Using Selenium
Selenium is another automated web application testing framework. Unlike WatiN, which has only 3 developers, Selenium is developed by a team of programmers and testers in ThoughtWorks, so that it could be more powerful:
-
Automated Web Testing (1) Using WatiN
WatiN (what-in), stands for Web Application Testing In .NET, is a very easy automated web application testing framework. WatiN is developed in C# for web testing with Internet Explorer and FireFox. According to Scott Guthrie: