Archive for April 2010

9 Rules about Constructors, Destructors, and Finalizers

First, this writing concentrates of and compares between three programming languages, C#, C++/CLI, and ISO/ANSI C++. It discusses 9 rules that every developer should keep in mind while working with constructors, destructors, and finalizers and class hierarchies:

Video: What’s New in C# 2/3/4

Here’s the complete “What’s New in C#” webcast series of Bruce Kyle (ISV Architect Evangelist of Microsoft) from Channel 9 blog.

Creating a Simple Twitter Client Application

This writing discusses the Twitter API and how you can utilize it in your managed application. It begins by a brief discussion of the API and the methods used. After that, it digs into the discussion of how you can utilize the API into your application with help of code samples and examples. At the end of this writing, there’s a nice open-source Twitter client application available for download. Worth mentioning that this article focuses on the REST API set of Twitter, specifically XML endpoints.)

Bad Practices: Locking on Non-shared Objects in Multi-threaded Applications

Actually, I was having a problem synchronizing threads calling a function. If we could regenerate the bug, we would end up with code like this….

Launched Visual Studio 2010!

Actually, I’m about 50 hours (I won’t say 2 days :P) late from the launch of Microsoft Visual Studio 2010. I was attending there in CodeProject Tech Summit 2010 for the launch when Bob Muglia gave the keynote speech (Life Runs on Code.)

Programmatically Enumerating, Attaching, and Detaching SQL Server Databases

This writing is like an encyclopedia for the SQL statements and stored procedures used to enumerate, attach, and detach databases on a SQL Server instance. It lists the statements and stored procedures that you can use and discusses them in simple examples.

Creating a Simple Sheet Designer in C#

Today, we are going to create a simple application, actually a simple sheet designing tool. This tool gives the user the flexibility to design his sheets, reports, bills, invoices, and receipts (whatever.)

Hard Links vs. Soft Links

This writing talks about hard links and soft links; two of the nice features of NTFS file system.

You can divide file links into two categories: 1) Normal Links (shortcuts) 2) Symbolic Links

Introducing RSS; Developing a Simple RSS Reader

This writing does not include a full discussion or even the full details of RSS or XML. Rather, it includes a nice introduction to RSS and its XML schema. In addition, it incorporates what you get in a sample application that is easy-to-code, understand, and to extend.