Consuming URL Shortening Services – Tweetburner (twurl)

Just another article of the URL shortening services series.

Today, we are going to talk about another hot and easy-to-use service, it’s Tweetburner. If you haven’t used it before, then it’s the time to.

We’re going to discuss how to use Tweetburner first. After that, we’ll inspect its API and learn how to use it in your .NET application.

Consuming URL Shortening Services –

Another article of our series that talks about accessing URL shortening services programmatically.

This article is talking about shortening service, how you can use it, and how to access it via your C#/VB.NET application.

Consuming URL Shortening Services – Introduction

This is the first article of our series that talks about accessing URL shortening services programmatically.

Here we introduce new concepts like the REST API. We also have a brief discussion of URL shortening services APIs and how you can access them.

In addition, we are going to talk about .NET support for the REST API and tools and techniques available that would help us during our journey through the API.

A working example built using C# and WinForms is available at the end of this article.

This article is the base for all other articles. Articles other than this discuss specific services and their APIs. We will make use of code and techniques discussed here throughout the rest of articles.

Retrieving Motherboard Information in VB6

In the early days, we have talked about how to retrieve motherboard information in C# and VB.NET. After receiving your feedbacks, we decided to extend it to include VB6 as well.

Setting Device Information in MCI

Like anything else in MCI, you can set device information using a MCI command (string/numeric), and this time it’s the MCI_SET command.

Converting your Number column to AutoNumber

Unfortunately you can’t convert your normal Numeric column to a AutoNumber column if there’s data existing in the table even if the numbers follow a series and are ordered properly.

However, you can do a little trick.

Why you receive a System.Security.SecurityException exception!

Have you ever received an exception like this: “System.Security.SecurityException: xxx.” ?

Manually performing a garbage collection!

I was asked whether it’s efficient to perform a manual garbage collection using GC.Collect() or not!

Serialization vs. Marshaling

Are you somewhat confused between Serialization and Marshaling? This writing would break this confusion up, it would give you a basic understanding of the process of Serialization and the process of Marshaling, and how you can get the most out of each.

Microsoft Agent; Providing a Custom Popup Menu

A second honeymoon with Microsoft Agent. Do you remember our article Programming Microsoft Agent in WinForms and our sample application PartIt? After you have included your desired agent in your application, are you feeling bad with the default popup menu? If so, then you are in the right place (welcome :).)

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.)