Category: Coding
Software Development, Programming
HTML Encoded Captcha Not Necessarily More Secure
I read an article linked from http://www.omgili.com/captcha.php on SlashDot that illustrates an alternative way of generating Captcha to prevent spam bot attacks.
Hyper-Threading and Dual Core Performance Comparison for Computational Intensive Applications
Download MPThreadBench.zip There is no doubt that Hyper-Threading can, under certain circumstances, boost application performance.
Using X509 Certificate with Web Service in ASP.Net – Update
In one of my previous posts, I described in detail for using X509 certificates with web services.
How to Reclaim “Lost Space” After Repartitioning USB Flash Drive
I have a 64MB USB flash drive and was experimenting putting different file systems on it. But when I removed the partition and re-partitioned and formatted using FAT32, I only got 52MB instead of the original 64MB.
Using X509 Certificate with Web Service in ASP.Net
Recently, I needed to incorporate a java web service (not developed in-house) into my client’s existing ASP.Net website.
Reminders Via Text Messaging
A couple of weeks ago, during a company event, I saw a demonstration of integrating weather service data with text messaging using Java.
Javascript Popup Window Problem in ASP.Net 2.0
Recently, I found an interesting problem when using server controls (e.g. asp:button) to launch javascript popup windows.
Be Careful When Using Enums in Web Services
We know that when enumeration type is used in web services, the string name of the enumeration value is used but not the underlying integer.
XML Serialization Surprise in VS 2005
In a post last year, I wrote about the pitfalls when generating classes using the xsd tool in .Net framework 1.1.
A Page for Displaying HttpRequest Information
When developing web related projects, I often found the need to inspect the HttpRequest object to see its properties.
One Time Password Generation
In many applications, it is often required to generate one time passwords.
Auto Sizing RichTextBox Based on Content
I got a request from my client a couple of weeks ago. For simplicity reasons, I will present it as follows.
Debugging Tabbing Issues with Spy++
A few weeks back, I ran into some issues related to tab stops for certain controls on a windows form not behaving as expected (e.g. a TabStop is set to false but the tab seems to still be trapped in…
Thread Safety Made Easier Under Visual Studio 2005
Most of us know that controls in Windows forms are bound to a specific thread and are not thread safe, and thus UI controls created or referenced on non-UI thread must be marshaled back to the UI thread by using…