Recent Posts


April 2014
« Mar    

VB.NET Nullable Value Types


SQL has long had the ability to specify that a value is NULL even if it is a primitive type, but the only way you could have a NULL value in VB.NET is if you were dealing with an object.

That is, until .NET 2.0

Even though .NET 2.0 has been out for a while, I would bet that few VB.NET programmers know about this new feature because it is one of those things most of us have grown to assume is not possible.… Read the rest

Anonymous Types

So, let’s get to work looking at anonymous types in .NET.

Test Sending Email without a Server in ASP.NET

back-041 By now, most people are familiar with the fact that ASP.NET will send mail from the codebehind by simply adding a few lines to your web.config file and adding another few lines of code in the codebehind file.

But it wasn’t until recently that I found that you don’t need to have access to an SMTP server to test your code.… Read the rest

Hungarian Notation – Use What Works, Spit Out The Bones


I am about to embark on the “religious” topic of naming conventions.  I was reminded of this topic by the short post, “Hungarian Notation, what do I think”, by Richard Dingwall.

I’m sure there will be those of you who will disagree with me, but as I’ve stated in previous posts, these general guidelines I’ve been using for .NET programming have served me well since .NET 1.0; they are meant as strong suggestions for those who are looking for guidance, not rules I expect the industry to adopt because I know better than anyone else.… Read the rest

Cross Language References in ASP.NET


Most ASP.NET programmers are aware that the environment allows programmers to write code in multiple languages.  This is what allows a programmer who prefers CSharp to write modules for DotNetNuke in CSharp even though the core code is written in VB.NET. … Read the rest