Archive for the ‘Coding’ Category.
June 22, 2008, 12:12 pm
I have been playing around with Intel’s Threading Building Block for a while and have started to really appreciate its simplicity and elegance: Instead of thinking in threads and thread synchronizations, one can just simply concentrate on the problem on the hand. Continue reading ‘A Simple TBB Program: TBB Prime’ »
June 6, 2008, 9:41 pm
It seems at least to me that as more bells and whistles were added to each new release of Microsoft’s products, the qualities of which have been deteriorating. Continue reading ‘A Line of Code Could Bring Visual Studio .Net Down to Its Knees’ »
June 1, 2008, 9:20 pm
I have been playing around with Intel’s open source TBB (Threading Building Block) recently. Continue reading ‘Develop TBB Using KDevelop and Code::Blocks’ »
May 25, 2008, 9:47 pm
When exceptions occur during the execution of an application, the stack trace contains the detailed location of where the exception is originated. Continue reading ‘Event Logging Using Reflection’ »
May 17, 2008, 9:06 pm
I ran into this weird compile time error the other day, and as it turned out, this is due to the limitation of Visual Studio 2005 deployment capabilities. Continue reading ‘Could not Find File ‘Microsoft.Windows.CommonLanguageRuntime’ Error’ »
May 3, 2008, 9:13 pm
Typically, there is rarely a need to change a control’s ID. However, this practice is sometimes useful when debugging a custom control, partiularly one that contains dynamically generated controls. Continue reading ‘Unexpected Event Behavior’ »
March 15, 2008, 9:20 pm
I ran into an interesting problem with the Web Setup project in ASP.Net 2.0 last Friday. Continue reading ‘Certain IIS Settings Cause Websetup Failure’ »
March 8, 2008, 11:42 pm
It seems that the DropDownList control in ASP.Net 2.0 really has some issues. Besides the one I mentioned in an earlier post, I recently ran into another annoying problem. Continue reading ‘A Strange Databinding Issue’ »
February 18, 2008, 12:17 am
I always use Global.asax for centralized error handling in my ASP.Net applications and typically it works great. Continue reading ‘A Stange Issue With Global.asax’ »
February 10, 2008, 2:36 pm
We often need the capability of selecting multiple rows from a grid, unfortunately the GridView component in ASP.Net 2.0 does not offer an out-of-box support for such functionality. Continue reading ‘Multiple Row Selection With GridView’ »
February 3, 2008, 10:48 pm
Reflection is case sensitive by default, which comes at no surprise to most C# developers. Continue reading ‘Reflection and Case Sensitivity’ »
January 25, 2008, 10:00 pm
In a role based application, it is often required that certain controls on the UI form be enabled and disabled based on user’s security credentials. Continue reading ‘Enable/Disable Controls using ControlCollection’ »
January 21, 2008, 4:46 pm
I ran across an exception "Microsoft JScript runtime error: ‘this._postBackSettings.async’ is null or not an object" the other day while writing some AJAX code with .Net AJAX Extensions for .Net framework 2.0. Continue reading ‘JScript Exception in AJAX Control Toolkit’ »
January 11, 2008, 10:40 pm
A while ago, I discussed some interesting behavior of File.Exist function in .Net. Recently I found out that File.Copy is just as elusive when UNC is involved. Continue reading ‘The Elusive File.Copy’ »
December 31, 2007, 11:06 pm
I came across something rather interesting the other day when trying to determine what sorting algorithms .Net Framework uses in its list class: The built-in sorting method runs much faster than the reverse-engineered and then compiled code, even though in theory the code being executed is identical. Continue reading ‘Same Method, Different Speed’ »