.net

.net

BetaBrite LED Sign API completed

As I mentioned in Automated Continuous Integration and the BetaBrite LED Sign: I’m currently working on some .NET classes that wrap a BetaBrite-specific subset of the Alpha Sign Communications Protocol. This requires serial communication via a 25 or 50 foot RS-232 serial to RJ-12 cable, so you’ll need

By Jeff Atwood ·
Comments

vb.net

The Slow Brain Death of VB.NET

It’s amusing that the very people defending VB.NET are, ironically, illustrating precisely why VB.NET is in such trouble: I just want to make it clear that I am one MVP that does NOT intend to sign this petition about VB. And by the way, my background is

By Jeff Atwood ·
Comments

.net

Paging Dr. Dotnetsky...

You always notice the names that appear frequently in your code related Google searches. For me, one of those names is Peter Bromberg, PhD, the driving force behind Egghead Cafe. There are some great articles there, but the pick of the litter are the ones by Peter’s alter ego,

By Jeff Atwood ·
Comments

.net

The One Trillion Dollar Development Pyramid

Kit George is the program manager for the .NET Base Class Library team. Kit recently posted an entry on the BCL blog describing a solution to a customer problem: We recently got asked this question by a customer: “In C#, how do I ensure that a string entered into a

By Jeff Atwood ·
Comments

.net

Improved Unhandled Exception behavior in .NET 2.0

I recently posted a question about console apps and AppDomain.CurrentDomain.UnhandledException – specifically, why doesn’t it work as described in the MSDN documentation? I even filed an official bug report on this. I guess it worked, because Microsoft’s Jonathan Keljo was kind enough to explain this behavior in

By Jeff Atwood ·
Comments

security

Beating CAPTCHAs with .NET code

I stumbled across an interesting article outlining how to beat the MSDN visual CAPTCHA algorithm with some .NET code. Unfortunately, the author (a Microsoft MVP) demonstrated his “crack” by testing it on the blogs of other MVPs: (if you were one of the 94 people i comment spammed) sorry about

By Jeff Atwood ·
Comments

namespaces

A Modest Namespace Proposal

Jon Galloway recently pointed out something that’s been bothering me for a while: I’m happy to see the huge growth of community contributed code – things like RSS.NET, sharpziplib, ftp classes to tide us over ’til .NET 2.0, etc. But one thing that bothers me is the

By Jeff Atwood ·
Comments

performance

Micro-Optimization and Meatballs

In my previous entry on the real cost of performance, there were some complaints that my code’s slow and it sucks. If I had a nickel every time someone told me that, I could have retired years ago. Let’s take a look at the specific complaint that the

By Jeff Atwood ·
Comments

.net

Net.WebClient and Deflate

In a previous entry, Net.WebClient and Gzip, I posted a code snippet that enables the missing HTTP compression in Net.WebClient, using the always handy SharpZipLib. This code eventually made it into one of my CodeProject articles. An eagle-eyed CodeProject reader noted that, while my code worked for gzip

By Jeff Atwood ·
Comments

windows forms

If an Exception happens in Form.Paint, does anyone catch it?

In a previous post, I mentioned the old VB6 trick of deferring form work until the Form.Paint event in order to provide a (seemingly) responsive interface to the user. Well, in the .NET world there’s one strange side effect when you do this. Let’s say you had

By Jeff Atwood ·
Comments

.net

It Came From Planet Architecture

Coming from humble Visual Basic 3.0 beginnings, by way of AmigaBasic, AppleSoft Basic, and Coleco Adam SmartBasic, I didn’t get a lot of exposure to formal programming practice. One of the primary benefits of .NET is that it brings VB programmers into the fold – we’re now real

By Jeff Atwood ·
Comments

programming languages

The Last Configuration Section Handler...

I stumbled across the Craig Andera post, The Last Configuration Section Handler I’ll Ever Need a few months ago, but I didn’t really understand the implications until I started writing a bunch of configuration section handlers. His approach is very clever; instead of writing a bunch of tedious

By Jeff Atwood ·
Comments