Category Archives: C# and ASP.NET

"Cryptography.CryptographicException: Bad Data" Exception Moving from .Net 1.1 to 3.5

We just finished moving a few apps from .Net Framework 1.1 to 3.5. One of the problems we ran into was this exception when using some symmetric encryption code. When we decrypted the value from the DB, this was being…

parsing command line parameters in c#

You would think of all the nice features they have in .Net that parsing comand line parameters to a console app would be as easy as calling a property. You would be wrong. C'mon, how hard would it have been…

OpenSmtp.net rocks!

Big thanks to the folks that developed OpenSmtp.net and made it available under the LGPL. I just ripped out Persits AspEmail from an ASP.NET project and replaced it with OpenSmtp.net. I never liked using AspEmail in .net since it wasn't native…

will I *ever* remember how to use dataformat strings in c#

Probably not. For future reference: "0:d" for a short date. Maybe I need to print out a good reference when I find one.

php: taking a half step back?

I've been doing some PHP development for a new site for my company. I can't tell you about it since it is classified "super f'ing secret"--actually it is just a cheesy parking page and I don't want any search engines…