Monday, November 21, 2011

Expression Blend 4 Step by Step By Elena Kosinska and Chris Leeds

A good tutorial for those who want to learn about Expression Blend and Silverlight

GetSkeleton

Skeleton is a small collection of CSS & JS files that can help you rapidly develop sites that look beautiful at any size, be it a 17" laptop screen or an iPhone. Skeleton is built on three core principles:



  1. Responsive Grid Down To Mobile
  2. Fast to Start
  3. Style Agnostic
Read more about it here: http://www.getskeleton.com/

DotNetPerls

Sunday, November 20, 2011

The Tao of Programming

If you haven't seen it yet, you should check it out here.  Beware that you don't start speaking like the book.  It might annoy some people.

Tuesday, August 16, 2011

Sample Multi-threading in ASP.NET C# console applicatoin

Do download a zip file project at my google code page.

Some notes about starting up threads:
  • Use QueueUserWorkItem to create a thread in a pool.  This has the added benefit of the .NET framework doing some checking for you to see if the CPU is able to handle more work.  If it isn't too busy, it will fire up a thread for you.  It has more overhead than ThreadStart, but is scalable.
  • Use System.ComponentModel.BackgroundWorker for cross-thread communication.  The benefits include:
    • Progress report
    • Cancellation pending property so  you can exit gracefuly.