Blog of Keith Craig, containing my thoughts, comments and questions. RSS Feed

LINQ to SQL and the "Request-scoped DataContext" Pattern
28 Jun 2007, 03:31:00 PM
In this post, I describe a LINQ to SQL architectural pattern for ASP.NET I call “request-scoped DataContext”. It’s based on the Hibernate pattern “thread-local session”. LINQ to SQL is looking promising, and has the possibility to really incre ...
Read post

Continuous Improvement
18 Jun 2007, 05:35:44 PM
SCRUM is an agile software development methodology, and one of its basic values is continuous improvement—making small changes often so that they add up to big improvements over time. SCRUM facilitates continuous improvement by having a retrospectiv ...
Read post

Roughly 3% penalty for indexing SqlDataReader columns by string rather than int
04 Jun 2007, 05:32:27 PM
When I was first learning .NET, I was told that indexing the columns of a SqlDataReader using an int was MUCH faster than using the string indexer. After I got over my initial horror (the string indexer was so much easier to read!), I decided that i ...
Read post