News

August 2005 Entries


RAPPTOR.Persistence - Transparent object persistence the easy way

I’m a big fan of Object Persistence frameworks, but this article shows how you can take it to a whole new level using .NET 2.0 Generics.

DaReport PrintDocument - printing utility for .NET - C# Programming

Most of the time, we end up using Crystal (shudder) or SQL Server Reporting services, but this might be a good alternative for simple reports.

SiteProNews: The 10 Best Resources for CSS

Ready to jump on the CSS bandwagon? Go here.

Design Patterns: Dependency Injection -- MSDN Magazine, September 2005

I think someone at Microsoft read a book and discovered the phrase “dependency injection”. It’s in quite a few of their articles lately. Despite it’s apparent “buzzwordiness”, it’s a useful tool. Check out Griffin Caprio’s article here.

Advanced Basics: Revisiting Operator Overloading

A good article on operator overloading in Visual Basic. I (stupidly) never realized that you could overload CType. Of course that’s necessary in retrospect, because it is the main casting device for VB. Anyway, the article is here, or in your latest issue of MSDN Magazine.

Desirable Characteristics of Application Design - Design Smells of Rotting Software - GRASP Patterns - Object-Oriented Principles

This may be the best blog entry from Dave Hayden yet. If you’re a “software developer” who wants to be an “architect”, you need to read this.

Clipcode-GoF-DSL and the One-To-One Mapping Anti-Pattern

This is an interesting blog entry on Clipcode-GoF-DSL and the One-To-One Mapping Anti-Pattern. To quote:Last week Eamon O'Tuathail of Clipcode released a Domain Specific Language (DSL) for some of the Gang of Four design patterns using the Microsoft DSL Tools for Visual Studio 2005. It is indeed a very remarkable proof of concept and although the implementation is still pretty rough, it represents a valuable model for discussion and learning. Also: The DSL designer currently allows setup and code...

One Bad Unit Test..How many angels can dance on the head of a pin?

Those that know me, know that I spend a lot of time harping on unit testing. Well, just having unit tests and running them isn’t enough. They have to be good unit tests, as edjez discovers here

Keep ASP.NET ViewState out of ASPX Page for Performance Improvement

Régis Daniel de Oliveira has a great article at CodeProject on how to improve ViewState performance. His article is definitely worth a read. Keep ASP.NET ViewState out of ASPX Page for Performance Improvement

Unit Testing in .NET Projects

There’s a great article on Unit Testing over at O’Reilly. Lots of stuff on all the current flavors. They have really good things to say about MbUnit, which I admit, I’ve never tried. Go to ONDotnet.com: Unit Testing in .NET Projects to find out more

Error Handling vs. Asserts vs. Exceptions

I’ve been reading Steve McConnell’s excellent Code Complete 2nd Edition, and it’s caused me to have an epiphany of sorts regarding dealing with errors. The funny thing is that I don’t even think that this section is particularly well written, nor do I agree with some of his conclusions. But reading it did get me to thinking about the way I code and the reasons I make the decisions that I do. (Ok, Ok, so this book has been on my “Currently Reading” list for almost...

ReSharper 2.0 EAP Revisited

As I said in this post, the ReSharper 2.0 EAP has begun. There have been a total of three releases that I’ve seen, 201, 203, and 204. 201 was very buggy, but helpful, even still. I never got 203 to install properly and it managed to completely screw up my VS 2005 environment (VS 2005 often won’t start, causes blue screens, etc.). I’ve tried a number of things to fix my VS 2005 issues, but no go so far. 204 seems to be a little less buggy than 201 and actually installs for me. This...

C# Team fixes Nullable

This comes from Cyrus and is a must-read to anyone using C# 2.0. Cyrus' Blather : You did it!

The FairTax Book

This weekend, I read The FairTax Book, by Congressman John Linder (R-GA) and syndicated talk show host Neal Boortz. A few words about Mr. Boortz are necessary before you visit his website, if you’re not familiar with him. Mr. Boortz is a conservative talk show host, and I would describe him as a “Libertarian crank”. I think I can get away with this, because I don’t think he’d disagree or find it insulting. If I’m wrong, I will change this and apologize. Anyway,...

Much Better Than 101 Uses for a Dead Cat

101 Samples for Visual Studio 2005

Woohoo! I'm going to the PDC!

Well, it’s been approved. I’ll be seeing some of you in LA in September. A chance to meet/see again some of the people I’ve been reading and writing about. Not sure on the specifics on my itinerary yet, but will post more info when I can. Now playing: Leonard Bernstein; New York Philharmonic - V. Saturn, The Bringer Of Old Age...

JavaScript Cheat Sheet

For those that think I only post about .NET, here’s a JavaScript Cheat Sheet from David Child. You might also want to check out his other cheat sheets

Visual Studio 2005 Starter Kits

If you’re new to Visual Studio 2005, or just .NET development in general, you should check out the Visual Studio 2005 Starter Kits.

Using TRY/CATCH to Resolve Deadlocks in SQL Server 2005

Ron Talmage has written a great article on one of the best benefits of adding the CLR to SQL Server 2005’s T-SQL implementation. Using TRY/CATCH to Resolve Deadlocks in SQL Server 2005

String Enumerations in C#

I’ve done String Enumerations in C# before, but this implementation is much better than mine

Generic Singleton Provider

Here’s a great Generic Singleton Provider for .NET 2.0

Query Analyzer - Sql Server Database Indexes and Execution Plans

Dave Hayden does it again. This is good stuff. Query Analyzer - Sql Server Database Indexes and Execution Plans

Keep ASP.NET ViewState out of ASPX Page for Performance Improvement

Régis Daniel de Oliveira has written a very good article improving ASP.NET ViewState Performance.

Web Applications: N-Tier vs. N-Layer - Benefits and Trade-Offs

I have problems with some of Rocky Lhotka’s stuff, but I do think his ideas on tiers vs. layers have merit. Dave Hayden picks up that torch and runs with it in his post on Web Applications: N-Tier vs. N-Layer - Benefits and Trade-Offs.

DataSets vs. Collections -- MSDN Magazine, August 2005

As usual, Dino Esposito does an impeccable job in comparing DataSets and Collections. You should check out this article. Cutting Edge: DataSets vs. Collections -- MSDN Magazine, August 2005