Stupid .NET Tricks

Profile
None
Random thoughts on C#, Windows NT, VoIP, and whatever else crosses my mind
5 comments
10 entries
Advertisement
Martee
January 16, 2011
Holy crap, this blog still exists?!?
Maybe I should write something on it once in a while. Really, a 5 year gap between posts is pretty sad.
951 views
Martee
December 04, 2005
How to break the .NET Framework in two easy steps
Step 1: In the Regional Options control panel, change your language to Welsh.
Step 2: Use System.Data.OleDb and watch all hell break loose.

Definitely one of the weirdest bugs I've seen.
963 views
Martee
March 17, 2005
An example of .NET attribute usage
People often ask what the point of attributes is, and how they can be used effectively. I thought I'd talk a bit about one of the ways we use attributes in our apps, and as a bonus give you a few details on our boot process.

A bit of background
In our apps, all of the different components are divided…
1,024 views
Martee
March 14, 2005
JBuilder 2005 - a whole new level of ineptness
(Yes, I know, this is supposed to be a .NET-focused journal. But I have to use Java for school, so I think it's ok to sneak in the occasional Java-related post.)

In my never-ending search for a decent Java IDE, I recently decided to install Borland's JBuilder 2005 Foundation. What a mistake that tur…
1,068 views
Martee
February 04, 2005
Most embarassing bug ever?
I found this one yesterday. The bug description went something like this: "Start app. Press a key. App crashes."

D'oh! This one was caused by some weird interactions between our keyboard shortcut handler and our new localization code. Apparently some strings that weren't supposed to be localized wer…
925 views
Martee
January 25, 2005
How NOT to make your app extensible
(And how NOT to write performance-oriented apps for .NET)

I recently looked at writing some code to integrate with ACT! 2005. ACT! is a personal information management application along the same lines as MS Outlook or Lotus Notes. When I installed the demo and found that it was a .NET application, I…
1,012 views
Martee
December 15, 2004
VS.NET 2003 is slow
Sometimes painfully slow. Changing from Debug to Release mode takes 30-40 seconds (that's just changing the setting in the IDE, not recompiling). I work with reasonably large solutions, but still ... it makes me want a faster computer. And don't get me started on how badly compiling bogs down the I…
962 views
Martee
October 06, 2004
CodeSmart 2003
AxTools CodeSmart 2003 is a pretty cool VS.NET addin that we recently got a site license for at work. I haven't really had a chance to explore all of its features yet, but after a bit of playing it looks like it could be quite useful.

In other news, Outlook 2003 uses some undocumented MAPI propertie…
1,079 views
Martee
September 18, 2004
Ouch!
I was recently bitten by a bug in the .NET framework. Apparently, calling ChannelServices.UnregisterChannel(foo) doesn't actually unregister the channel properly and close the socket. Subsequent attempts to call RegisterChannel() for a socket on the same port fail with an "Only one usage of each so…
1,017 views
Martee
September 09, 2004
Wow, I'm GDNet+ now!
And here's my first journal entry. I won't be saying much about my personal life in this journal; I plan to keep the posts technical, and focused on topics such as:
-Projects I'm working on at school
-Interesting technial issues I come across at work (I write .NET-based software for corporate VoIP ph…
962 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement