Ugh. I’m using System.Enum’s built-in parsing bits, and I really like ’em. However, why would you provide a case-insensitive option on the Parse method, but not on IsDefined? That makes IsDefined less than useful. Now I have to try to parse and catch an exception if the parse fails, which just makes for ugly code, not to mention the slowdown with the exception handling. I hate it when the framework team does this crap.
Category: Etc
Everything that doesn’t fit anywhere else
HttpResponse.Filter Fun
Stuff I learned about HttpResponse filters and the ASP.NET pipeline today:
- Calling Server.Transfer or Response.End will kill the Filter. Anything that calls Response.End() or
- Server.Execute passes code through the filter just fine
- PreSendRequestHeaders and PreSendRequestContent don’t seem to fire unless you call HttpResponse.Flush()
- Fulfilling from the OutputCache causes all the events between AuthorizeRequest and EndRequest to not fire
Never seen Tron
My girlfriend has never seen Tron. And you think you know someone… ;)
MSDN TV Talks on Secure Software
MSDN published a couple nice shorts on secure testing and secure development recently. They have a very… home video type quality to them and they can be hard to listen to, but they do raise some very good points about how to design, implement and test applications with security in mind. I think far too many developers don’t think about these kind of issues and it’s really to their and their applications deteriment.
Shuttles and Heat Monitoring
So I just picked up a Shuttle XPC and decided to throw an ATI Radeon 9500 Pro in it. The 9500 has a built-on fan to keep it cool, so I was getting a little worried about the small Shuttle case keeping cool. I found a peice of freeware called Motherboard Monitor that will work for me, but I was wondering if there’s anything else out there that people like. Any suggestions?