My musings about .NET and what not

"Linqifying TheBeerHouse" Published by Wrox

My eBook (or what the publisher cleverly dubs a "Wrox Blox") on retooling TheBeerHouse Starter Kit for LINQ to SQL on the .NET Framework 3.5 has finally been published, and is entitled LINQifying TheBeerHouse: An N-Tier LINQ Web Application with ASP.NET 2.0 Website Programming Problem - Design - Solution  (ISBN: 978-0-470-41569-6).

The book offers two unique solutions. The first takes advantage of the original application’s data provider model to develop a custom LINQ to SQL provider for the Articles module. The second uses the DataContext as a self-contained DAL, and adds data access methods to the generated entities using partial classes, which is how you'd likely develop a using a purely LINQ-based three-tier ASP.NET application.

There's lots of other pithy background info here too, including the use of LINQ to Objects and the newest features of the C# 3.0 language and .NET Framework 3.5 like object initializers, collection initializers, automatic properties, extension methods, lambda expressions, anonymous types, query and method syntax; the IQueryable interface; deferred execution, and even LINQ to SQL debugging.

If you've worked with TheBeerHouse Starter Kit or read the original book on which it's based ( ASP.NET 2.0 Website Programming: Problem – Design – Solution), or are just interested in learning about replacing ADO.NET data access methods with LINQ to SQL, then it's well worth a read.

If I say so myself. ;-)

Subscribe to this blog for more cool content like this!

kick it on DotNetKicks.com

shout it on DotNetShoutOut.com

vote it on WebDevVote.com

Bookmark / Share

    » Similar Posts

    1. About Disposing the DataContext
    2. TheBeerHouse MVC Beta Now on CodePlex
    3. Books I Wish Would Just Come Out Already

    » Trackbacks & Pingbacks

    No trackbacks yet.
    Trackback link for this post:
    http://leedumond.com/trackback.ashx?id=14

    » Comments

    1. AlmostReady avatar

      It's August, 2010. I have just discovered this page and am very interested. Do you still support the code in the (e)book and source project? I would like to purchase this to use as a base for creating a small ecommerce site.

      Thanks.

      AlmostReady — August 21, 2010 7:40 PM
    2. Lee Dumond avatar

      Yes, of course, no problem.

      Lee Dumond — August 22, 2010 11:03 AM
    3. AlmostReady avatar

      Sold! I just bought my copy. Thanks.

      AlmostReady — August 22, 2010 7:28 PM

    » Leave a Comment