My Thoughts on ASP.NET's MVC
23 Jul 2008 1:49am GMT Like me, you might have been surprised that the foundation series didn't have a chapter on the MVC pattern. I'm no fan of the existing page model (I actually think it's horrible), and I've successfully used MonoRail on a few projects, so it would have made for a good topic. My reasons for not including something on MVC were simple: we were and continue to be flooded with MVC information (as though it's a brand new invention), and I didn't think I could explain MVC using...
T4 Templates for Code Generation Screencast
22 Jul 2008 7:55pm GMT I put together a quick screencast showing how to leverage T4 Templates in Visual Studio 2008 for Code Generation: T4 Templates in Visual Studio for Code Generation Screencast I show step-by-step how to create a simple T4 Template and then how to generate various Entity, Data Access Object, and Factory Classes using more advanced T4 Templates that one might use to create a simple custom data access layer. I have seen other screencasts that have used SQL Server Management Objects,...
Dealing with Code Un-Coverable by Tests
22 Jul 2008 5:03pm GMT Code UnCoverable by Tests Even for test-coverage addict (as me), there is some code that simply cannot be covered by tests. An example? public bool MessageBoxToDemandQueryDeletion(ICQLQuery query) { string unused; Debug.Assert(CanDeleteQuery(query, out unused)); return MessageBox.Show( "Are you sure that you want to delete the query: {" + query.QueryString + "} ?", "NDepend", MessageBoxButtons.YesNo) == DialogResult.Yes; } The...
Ward & I talk over the EF Vote of No Confidence Document
22 Jul 2008 3:46pm GMT The second part of Ward Bell & I's conversation on ORM is up at the ALT.NET Podcast. In this part we dive right into the vote of no confidence document that kicked up so (much more than was justified) fuss and racket about a month ago.We recorded it a couple weeks back, and I've spent a little time thinking about the EF VoNC. At this point I'd say that:After looking more at it, EF v1 is actually worse than I thought it wasNo, I don't regret signing and helping to write...
Bellware Driven Design
20 Jul 2008 12:19am GMT When I was down in Seattle last week Scott Bellware did a talk about BDD for a few people. Its not a very formal talk (which I prefer) and its a bit slow to start but there are some gems in here. My camera died after the first hour but definitely worth checking out. Enjoy!