Skip navigation.

Web talk

September 2005

Running Auxiliary Code Before OnInit

Not long ago I bemoaned the lack of context awareness in the Page class. I said it would be helpful to intercept calls to page life cycle events. While browsing through the 2.0 page events I noticed that my wish had been granted (to some extent). I’m talking about the PreInit, Init and InitComplete events. Read this blog post

  | Discuss this post2 comments  |  No TrackBacks

Acceptance of ASP.NET 2.0 Will Take Time

No, no, I’m not going to be Johnny Rain Cloud exposing some dirty little secrets of The Big 2.0. Back in June Scott Mitchell expressed how he felt about being no longer cutting edge with the advance of everything 2.0. If you feel the same way, welcome to the club—you’re in good company. I don’t feel intimidated by 2.0. I feel perplexed, much like Scott. Read this blog post

  | Discuss this post6 comments  |  No TrackBacks

Refactoring: Improving the Design of Existing Code (Book Review)

This book is a mega hit brought to you by Martin Fowler, Kent Beck, and other prominent individuals. Refactoring is not so much a construct of a certain programming language, but an approach, philosophy and discipline. William Opdyke defines it as “a way to restructure software to make design insights more explicit, to develop frameworks and extract usable components, to clarify the software architecture, and to prepare to make additions easier” (page 382). In essence, it is your ticket to maintainable code and healthy sanity. Oh, and you get to save your hair since you won’t be pulling it so much. Read this blog post

  | Discuss this postNo comments yet  |  No TrackBacks

TV Time vs. Reading Time

Here’s an interesting excerpt from the fascinating book On Combat by Lieutenant Colonel Dave Grossman (props to Bob Parsons, founder of GoDaddy, for recommending this book): Read this blog post

  | Discuss this post1 comment  |  No TrackBacks

Not an AOP Book

The subject of Aspect Oriented Programming (AOP) in .NET intrigues me a great deal. In part because there isn’t much written about it, and in part because I see opportunities that are not available with the conventional way of writing code. Read this blog post

  | Discuss this post3 comments  |  No TrackBacks

Jumping Through Hoops with XML Serialization

On the surface, XML serialization in .NET is easy. Define a class with public fields and properties, optionally decorate with [Xml....] attributes, create an instance of XmlSerializer and you’re done. 99% of all XML serialization samples out there show a simple class with one or two string and int properties. Of course those samples work great! You don’t know what you get yourself into until your class or collection has bool, enum and DateTime properties. Read this blog post

  | Discuss this postNo comments yet  |  No TrackBacks

New 2.0 Default: XHTML 1.0 Transitional

In a recent post Scott Guthrie points out that the final release of ASP.NET 2.0 will emit XHTML 1.0 Transitional by default instead of XHTML 1.1 as it has been in betas so far. That’s good news! Read this blog post

  | Discuss this post1 comment  |  No TrackBacks

Official Pictures of Civic 2006

Again, via Autoblog: behold official pictures of the 2006 Civics. I’m not sure what makes them “official”. Perhaps the fact that they were taken on a track. Anyway, as awesome as both the sedan and the coupe look, I don’t get why Civic and Accord sedans always get the low end of the design deal. Read this blog post

  | Discuss this postNo comments yet  |  No TrackBacks

View State Lockdown

For a while now a certain individual, or a group of individuals (hereinafter referred to as “dirtbags”), have been trying to hack my site by feeding it bogus view state. I don’t know what their idea is, but they feed entire spam emails for view state. Do they expect my site to actually email it? Why would it? Also, I see this view state attack coming from all over the world—China, Costa Rica, Egypt, Iran, France, Germany. My guess is they use anonymous proxies or simply badly configured software ponied for proxies. Read this blog post

  | Discuss this post11 comments  |  No TrackBacks