共用方式為


You had me at "Hello World"

Programming, Love at First Sight

Windows Hardware Compatibility List for Windows RT

Just bought a Surface RT device? Congratulations! I purchased a Microsoft Surface RT, and I am very...

Date: 11/05/2012

Metrics and Information for Your Windows Phone 7 App

So you wrote and published Windows Phone 7 apps, and of course you want to know how well your apps...

Date: 05/03/2011

Productivity Power Tools for Visual Studio 2010

I just installed Visual Studio 2010 on a different machine, and I noticed I missed several things...

Date: 01/29/2011

Free Electronic Book: Programming Windows Phone 7

You can get a free ebook, Programming Windows Phone 7, by Charles Petzold here:...

Date: 10/28/2010

Windows 7 Shortcuts

I read this article that I found really helpful. It covers some keyboard shortcuts that can be...

Date: 07/21/2010

Understanding WPF Dependency Property and Attached Property

One of my biggest challenge to understand WPF is the concept of attached property and dependency...

Date: 06/25/2010

Exposing WCF REST Interface, Step by Step

It is really hard for me to think another way to build services, other than WCF. WCF team did a very...

Date: 01/26/2010

@BillGates

I just found out that Bill Gates joins Twitter (link), and also has a facebook account (link).

Date: 01/19/2010

Attaching an Event Handler

Whenever I need to attach an event handler, usually I use one of these methods, a delegate,...

Date: 09/30/2009

How to Give Authenticated Users or Everyone Access to Your Share Programmatically

Another follow-up from my previous article, Programmatically Configuring Permissions on a Share,...

Date: 07/13/2009

How to Programmatically Modify the IIS Virtual Directory

If you have more than a dozen web servers in a cluster with identical setting, and you need to...

Date: 05/29/2009

Concatenating A List of Elements into A String, From [A] [B] [C] into "A, B, C"

This is a quite common problem, there is a list of strings, and you need to concatenate them with a...

Date: 05/12/2009

Generating P/Invoke Signature

I have been using PInvoke.Net for long time. I discovered a tool, P/Invoke Interop Assistant. It is...

Date: 04/15/2009

Workaround to deserialize ‘True’, ‘False’ using XmlSerializer

This is the scenario, system A is taking an xml from system B. System A will deserialize the xml...

Date: 04/03/2009

C# 3.0 Automatic Property

C# introduces a number of syntactic sugar, including Automatic Property link. A question was asked,...

Date: 02/12/2009

How to Add Command Line Support with Your .MSI

One of the requirements in building setups was to allow the Operations team to execute the .msi file...

Date: 02/06/2009

Fixing the Issue that Does Not Exist

I spent some time planning on improvements that I wanted to do on one of our project. I reviewed the...

Date: 02/05/2009

IE 8 RC 1 is Now Available for Download

I downloaded and installed IE 8 RC 1 on my machine. It works really well, the performance...

Date: 01/27/2009

Writing Fast Code (Resources)

This article is intended to help me remember where can I find these resources, also kind of helpful...

Date: 01/11/2009

It Is 2009, Happy New Year!!!

Happy New Year, everyone. Wish you all the best this year.

Date: 01/01/2009

When Building Multi-Threaded Applications using ThreadPool, Make the Number of Worker Threads Configurable

Just a simple thought, when creating a multi-threaded applications, make the number of threads...

Date: 12/16/2008

String.Split has High Cost on Performance

One application had a memory issue, it just consume too much resources. The application performed...

Date: 12/15/2008

How to Create Custom Event Log for Windows Service

When you created a Windows Service, you usually add a Service Installer to allow this service to be...

Date: 12/11/2008

How to Get IIS Web Sites Information Programmatically

I needed to get the location of IIS log files on my servers, after doing a quick investigation, I am...

Date: 10/31/2008

Watch PDC Videos Online

PDC is almost over, did you know that you can access the recorded sessions online? Go to...

Date: 10/30/2008

How to Install Windows Service Programmatically

Sometimes you may want to install a Windows Service programmatically, but the target machine does...

Date: 10/20/2008

How to Install Assemblies to the GAC Programmatically?

You can add or remove assemblies from the GAC using code. You can use Publish.GacInstall method to...

Date: 09/22/2008

"Access Denied" When Accessing a Share in Windows Home Server

This is the scenario, as WHS Administrator, you granted yourself access to a specific share, and you...

Date: 09/21/2008

Advice for New Programmers

I was reading an old post that Chuck Jazdzewski wrote. This one is really good, it is not applicable...

Date: 08/26/2008

In God We Trust, Everybody Else Must Bring Data

One day, I was presented with a problem, that the finalizer was not called during application pool...

Date: 08/25/2008

The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error

I am playing around with WCF, and I got that error message above. Searching did not really help in...

Date: 08/22/2008

Replacing ASMX Web Service with WCF Web Service

I found a good article about replacing ASMX web wervice with WCF web service here (ASMX to WCF...

Date: 08/01/2008

How to Find Out Which Column Caused SSIS to Fail?

In my previous post, I explained how you can find out the error description for the error id that is...

Date: 08/01/2008

Search Video and Watch It, More Than Just Thumbnails

Yes, I work at Microsoft, but I was surprised with what live services can do. I found out about live...

Date: 08/01/2008

Switching Between Applications, Using Vista Flip3D

I like Flip3D, but I rarely use it, as I am accustomed switching between applications by pressing...

Date: 08/01/2008

How to Decipher/Understand SSIS Error Code?

If you have worked with SSIS, you may have been doing something like this, in case of errors, you...

Date: 07/25/2008

Paparazzi for the Computer Literate

Again from Microsoft Product Fair, I found out one thing that I had never known that we were doing...

Date: 07/25/2008

Search and Give

Starting yesterday, we have product fair, where full time employees have the opportunity to check...

Date: 07/23/2008

Boosting Performance with READ_COMMITTED_SNAPSHOT

I had a problem with one of our database in our testing environment, it performs OK, but we know it...

Date: 07/22/2008

Editing Share Permission

In my previous post, I have shown you how to set up permission on a share. The thing with...

Date: 07/21/2008

Home Server Power Pack 1 is Released!

Finally it is released! If you are using Windows Home Server, please take a look at WHS team’s blog...

Date: 07/21/2008

Database Design – Designing Primary Key

One of the key of designing a database is picking the right primary key. I keep in mind several...

Date: 06/24/2008

Common AccessMask value when Configuring Share Permission Programmatically

In my previous post, I have shown you how to modify share permission using .Net framework. Access...

Date: 06/09/2008

Windows Search 4.0 was Released

Shame on me, I just found out that Windows Search 4.0 was released. Check this kb article on what is...

Date: 06/06/2008

Programmatically Configuring Permissions on a Share

I was asked this problem on how to set up permission for a share programmatically using .Net...

Date: 06/06/2008

WCF Webcast

Michele Leroux Bustamante made fifteen great Webcasts, hosted by msdn. If you are learning WCF, I...

Date: 06/06/2008

CustomActionData and User Defined Path

When designing a setup project, you can define text boxes dialog to input a file system path. To...

Date: 04/07/2008

Fresh Install Backups and Windows Home Server

I was building a new Vista Media Center, and replaced XP Home on my old laptop with XP Professional....

Date: 03/29/2008

How to Convert a list of Object/String to an Array Using LINQ?

This is something that I really like, I can convert a list of objects into an array of something. I...

Date: 03/18/2008

I Am in Love with LINQ

I have been reviewing LINQ since last year, but I had never had a chance to actually jump and use it...

Date: 03/16/2008

Next>