Patterns & Practices

Making your code instantly readable...

I'm currently reading the second edition of _Code Complete_ from cover-to-cover. More on that later, I'm sure - but for now I'll just say that you should read this right now if you haven't read it already. This is one of those books that you should really just leave by your dev machine. In any case, Steve McConnell mentions the importance of making code readable throughout the book. This is far from profound, yet in practice I don't see it done very much. Frankly, if you examine your coding practices...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Dynamic Image Loading, Caching, & Performance

I came across an interesting blog posting and comment today doing some research on ASP.NET performance. Essentially, Alik Levin mentions that if you're loading images dynamically (either from a file-system or DB) you will not be taking advantage of browser/client caching out-of-the-box. I'm using a very simple HTTP Handler in one of my applications, the handler, well, handles serving up images in my application - something there are lots of. So it seems like it makes a lot of sense to have the browser...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

ASP.NET Performance Tips

In the post below I am going to run down a short-list of some of the less-popular performance tips and the reasoning behind them. There are loads of blog postings and articles on asp.net performance enhancements, and I urge you to check those out as well. Onto the good stuff... Session.ReadWrite versus Session.ReadOnly It goes without saying that using the Session object will incur some performance overhead so if possible it should be turned off in the web.config. That said, If you’re using the Session...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Another Abstract Factory Explanation

Please note, I've moved this post and cleaned it up a bit...you can find it at the following URL: http://geekswithblogs.net/S... Cheers
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Twitter