CProgrammingTrends.com Click Here to goto iEntry
 
Free Newsletters
Part of the iEntry Network
over 4 million subscribers
CProgramming
ColdFusionPro
DesignNewz

Send me relevant info on products and services.




Newsletter Archive: 2007

IDataRecord Fields To Dictionary Extension Method
I have never been a fan of directly passing IDataRecords, or IDataReaders for that matter, about the place to get simple field values out. Therefore, with the introduction of C# 3.0 and Extension Methods, I thought it would be cool to write (and share) a simple implementation of some code that I use to convert the IDataRecord Field data to an Dictionary<string, object> object..

Date: 2007-12-20


ECMAScript, The New C++?
Everything but a call for a kitchen sink subroutine has been tossed into ECMAScript 4, leaving a couple of bloggers wondering why. ECMAScript has appeal in its simplicity, Gabriele Renzi suggested at the Print Me blog.

Date: 2007-11-01


Responses To Microsoft Releasing .NET 3.5 Source
So far the views from Dave, whurley, Matt and others have been negative to handle with caution. After I heard that Microsoft was releasing the .NET 3.5 source under the Microsoft Research License (i.e. look but don't touch), I tried to find what .NET users were saying.

Date: 2007-10-04


Resolve & Shorten URLs In C#
Recently I've needed a method that would look at some text and automatically discover all URLs and turn them into hyperlinks. I've done that before so it was a matter of copy/paste.

Date: 2007-09-20


Yahoo SiteExplorer API With C#
If you are interested in using Yahoo's SiteExplorer API and are coding in the ASP.NET environment using C# (web pages) then the following method might be of use to you.

Date: 2007-08-15


Debug JavaScript In Visual Studio 2005 Like C#
I've been using Visual Studio 2005 for almost 2½ years since the beta 1 release. In all that time, I've used Firefox and Firebug for all JavaScript debugging. I've tried setting breakpoints in JavaScript in Visual Studio before, but I never got it working so I left it for Firebug.

Date: 2007-06-28


From VB.NET To C#
Coming from the Visual Basic world, I used to find many examples throughout the web written in VB and VB.NET. Then I got hired by Traceworks which was a VB.NET company, but they decided to move to C# because they couldn't find employees that wanted to code VB.NET.

Date: 2007-06-07


Bind Countries From CultureInfo Class In C#
Some people have asked me how BlogEngine.NET displays a dropdown list of countries when no source XML file is present. The simple answer is that you don't need any external list to bind to from C#, you can instead use the CultureInfo class.

Date: 2007-05-29


See Who Calls Any Method In C#
In some situations it can be important to know which methods are calling other methods. Think of an error log. Here you would like to know which method that threw the error and at what line in what file.

Date: 2007-05-17


Compress & Decompress Strings In C#
A couple of days ago, I had to store some very big strings in an XML file. To keep the file size down I wanted to compress the strings using a GZipStream and then decompress them later when needed.

Date: 2007-05-03


Nokia Eases The Pain For C And Linux Developers
If you develop application and program in C or Linux then your gonna love the new SDKs just released by Forum Nokia. The Open C plug-ins have been developed to ease the migration pains typically experienced by developers looking to port their apps to a mobile environment.

Date: 2007-04-05


Generate Unique Strings & Numbers In C#
The System.Guid is used whenever we need to generate a unique key, but it is very long. That's in many cases not an issue, but in a web scenario where it is part of the URL we need to use its string representation which is 36 characters long.

Date: 2007-03-15


C# - Generic Plug-in Application
At work, we are about to build a new internal tool for administration of different systems. We developers need certain applications and the sales department needs some other ones.

Date: 2007-03-01


C# - Screen Scraping
Some say that screen scraping is a lost art because it is no longer an advanced discipline. That may be right, but there are different ways of doing it. Here are some different ways that all are perfectly acceptable, but can be used for various different purposes.

Date: 2007-02-15


C# Stock Quote Class
A couple of months ago one of my readers asked me to build a stock quote class that would automatically update the quote. I forgot about it, but then I found the e-mail and decided to give it a go.

Date: 2007-02-01


Overload Operators The Right Way In C#
It's a good rule of thumb to overload the equality operators on classes. That ensures a correct comparison between to class instances of the same type. If you don't, .NET automatically uses reflection and that is way slower than a custom implementation.

Date: 2007-01-18


C#: Realtime Currency Exchange Class
Soon, I'm facing a new project where the need for up-to-date currency exchanges is crucial. This is not the first time I've done this, but I wanted to make a reusable, self-maintainable class so I don't have to do it again.

Date: 2007-01-04


2006 Archive

2005 Archive
Previous Year | Submit Article | Advertising Information | About Us | Contact

C Programming Trends is an iEntry, Inc.® publication - 2007 All Rights Reserved  Privacy Policy and Legal