Posts tagged 'net-misc'

IEnumerable<> and IEnumerable

I've answered this 2x in the past week, so I think it's a worthy point to bring up. When implementing generic interface IEnumerable<>, you'll need to implement both IEnumerable<>.GetEnumerator() and IEnumerable.GetEnumerator() as IEnumerable<> inherits IEnumerable. Otherwise, you'll...

Continue reading "IEnumerable<> and IEnumerable"

.NET Languages Galore

Ever wonder what all the .NET Languages are? See them all as well as links to learn more about them. .NET Languages - Resources

Countdown to ASP.NET 2.0 Unleashed

I thought it would be cool to put together a countdown to the release of ASP.NET 2.0 Unleashed , by Stephen Walther, on June 9, 2006. So, I created the below dynamic image. Cool, huh? Now here's the code to the above countdown image. <% @ Page Language ="C#" %> <% @ Import Namespace...

Continue reading "Countdown to ASP.NET 2.0 Unleashed"

Accessing Config File Mail Settings Programmatically

Some people may not know that .NET 2.0 provides APIs for accessing everything in a configuration file. The most common question I see relates to accessing the mail settings in the system.net node programmatically. C# using System.Configuration; using System.Web.Configuration; using System.Net.Configuration;...

Continue reading "Accessing Config File Mail Settings Programmatically"

The bible of all debug blog sites

I'm working on a tough web site debugging issue, and somebody sent me the below link to Tess's blog. It is the best debug blog I've ever seen. If broken it is, fix it you should...

Continue reading "The bible of all debug blog sites"

Creating a List of a custom class

Let's say for instance, you want to create a List of your own class, say Employee, where Employee represents an employee. First, we'll start by creating an employee class. [ Serializable ] public class Employee { private bool m_IsSalaried; private int m_Age; private string m_Email; private string m_Name;...

Continue reading "Creating a List of a custom class"

Interesting code standard blog entry

Today I came across an interesting blog entry debating the use of prefixing m_ to a variable name when naming private member variables. I feel that if there was a standard, we would all be following it. IMO, if you develop a decent coding standard, you should be able to create code that reads like a...

Continue reading "Interesting code standard blog entry"

What will upgrading my .NET 1.x project to 2.0 break?

If you have a .NET 1.x project and are thinking about upgrading it to 2.0, take a look at Breaking Changes in .NET 2.0 Framework first, as there is a comprehensive listing of changes that could break your application upon upgrade....

Continue reading "What will upgrading my .NET 1.x project to 2.0 break?"

Running different versions of the same assembly

I came across a thread on one of my lists today in which somebody was having problems running 2 different versions of the FreeTextBox assembly in the same /bin directory. The answer to this one is pretty simple. You need to install all versions of the assembly with the GAC (Global Assembly Cache). To...

Continue reading "Running different versions of the same assembly"