-
Recent Posts
Recent Comments
- GoDaddy.com on Domains available
- Chad Myers on Domains available
- Adam Rackis on Domains available
- Gleb on Domains available
- Joey on Sweet, sweet vindication
Archives
- February 2012
- December 2011
- October 2011
- July 2011
- June 2011
- May 2011
- March 2011
- February 2011
- January 2011
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- February 2010
- January 2010
- November 2009
- October 2009
- September 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
Categories
- .NET
- 1998
- ad nauseum
- Advice
- Agile
- Agile Arguments
- ALT.NET
- altdotnet
- ASP.NET
- ASP.NET MVC
- ATX Code Lunch
- Austin
- Code Examples
- CoDe Magazine
- Code Specifications
- code-review
- CodeCamp
- CodingDojo
- composition
- Consulting
- Controllerless
- Conventions
- cool
- cool-stuff-in-fubu
- Database
- datetime
- Deployment
- Design
- DimeCasts
- Domain
- Dovetail
- DSL
- Enforcement
- Expression Trees
- Extension Methods
- Fiesta
- Fluent API
- Fluent NHibernate
- fubucore
- FubuMVC
- GenericFun
- Guidance
- Hiring
- Humor
- internationalization
- IoC
- jQuery
- Kaizenconf
- leadership
- LINQ
- LiveMeeting
- LosTechies
- Mangement
- Mean
- Misc
- Mocks
- MVC
- MVP
- NHibernate
- OffTopic
- Open source
- ORM
- Oxite
- parsing
- Patterns
- PDoTDD
- Plan
- Premature optimization
- Principles
- professionalism
- Programming
- Proof
- PTOM
- Quality
- quiz
- QUnit
- Rails
- rant
- regex
- Repositories
- ReSharper
- RSS
- Ruby
- Sad
- sanctus bovis
- Screencast
- Self-examination
- ShadeTree
- SQL is evil
- Static Reflection
- StructureMap
- TDD
- Tips
- Twitter die die die
- Uncategorized
- Unmaintainability
- VAN
- Video
- WCF
Meta
Category Archives: LINQ
Simplifying LazyLinq
This is the fourth in a series of posts on LazyLinq, a wrapper to support lazy initialization and deferred disposal of a LINQ query context: Introducing LazyLinq: Overview Introducing LazyLinq: Internals Introducing LazyLinq: Queryability Simplifying LazyLinq Introducing LazyLinq: Lazy DataContext … Continue reading
Also posted in Programming
4 Comments
Introducing LazyLinq: Queryability
This is the third in a series of posts on LazyLinq, a wrapper to support lazy initialization and deferred disposal of a LINQ query context: Introducing LazyLinq: Overview Introducing LazyLinq: Internals Introducing LazyLinq: Queryability Simplifying LazyLinq Introducing LazyLinq: Lazy DataContext … Continue reading
Also posted in Uncategorized
18 Comments
Introducing LazyLinq: Overview
This is the first in a series of posts on LazyLinq, a wrapper to support lazy initialization and deferred disposal of a LINQ query context, including LINQ to SQL’s DataContext: Introducing LazyLinq: Overview Introducing LazyLinq: Internals Introducing LazyLinq: Queryability Simplifying … Continue reading
Also posted in .NET, TDD
2 Comments
Using IDisposables with LINQ
Objects that implement IDisposable are everywhere. The interface even gets its own language features (C#, VB, F#). However, LINQ throws a few wrenches into things: LINQ’s query syntax depends on expressions; using blocks are statements. When querying a sequence of … Continue reading
Also posted in .NET
12 Comments
Improve Your Code Golf Game with LINQ
I always enjoy a good coding challenge, and variations of code golf are most common. For the uninitiated, code golf provides a problem with the objective of providing a solution that requires the fewest keystrokes or lines. While production code … Continue reading
Also posted in Rails, Ruby
4 Comments
Project-wide controller survey through reflection
I often lose track of all of the different controllers in our system, especially if I’m trying to see what existing conventions we have in place for the design of actions. To get around this, I use a simple LINQ … Continue reading
Comments Off
Visualizing LINQ expressions in the debugger
In Ben’s recent post on Fluent Route Testing in ASP.NET MVC, he recalled a problem we had when trying to figure out how to deal with an Expression<> once we have one. Typically, I like to parse the Expression to … Continue reading
Comments Off
Deferred execution gotchas
I was trying to be clever the other day and try to chain assertions on an array: [Test] public void This_does_not_work() { var items = new[] {1, 2, 3, 4, 5}; items .Each(x => x.ShouldBeLessThan(0)) .Each(x => x.ShouldBeGreaterThan(10)); } I … Continue reading
Comments Off
Query Objects with Repository Pattern Part 2
As promised in my previous post, I’m going to make our query object a little more flexible and dynamic. First, this is what I really want to be able to do something like this: var customers = repo.FindBy( new TopCustomersWithLowDiscountQuery() … Continue reading
Query Objects with the Repository Pattern
Nate Kohari (whose primate brain is far too small to comprehend this post [inside joke, he’s actually really sharp]) was asking on Twitter today about how to structure his repositories: Per aggregate root, Per entity, or just one repository for … Continue reading
Also posted in Repositories
4 Comments
