You Win! An EF 4.1 Update to Programming Entity Framework is In the Works!

After I finished writing the first edition of Programming Entity Framework, 832 pages long, I announced to anyone within earshot that if I every talked about writing another book to just shoot me.

After I finished writing the second edition of Programming Entity Framework, which came in at nearly 900 pages, I said “I really mean it this time"!

And then Entity Framework 4.1 was released with Code First modeling and the sweetness of the DbContext and other additions to this API.

Many asked me if I would update the book. I said “no” a thousand times and explained in this blog post, EF4 books and EF 4.1, why revising the entire book for what amounts to two small additions that don’t impact the core behavior of Entity Framework made no sense.

But you still asked.

I wrote articles and created videos.

But you still asked for a new book.

And then in a moment of insanity (I believe it was during 5 long hours of driving alone in the car to my parents’ house), I decided that maybe I could just write a short book that would essentially “tack-on” to Programming Entity Framework Second Edition.

And so it goes…this is what I am now working on. But I got smart this time! This spring, I worked on a series of content for MSDN with Rowan Miller from Microsoft. Rowan is a Program Manager on the ADO.NET Entity Framework team and has been instrumental in EF 4.1. He knows it better than most anybody. Certainly better than I do! And he’s a good writer. He’s a bit less verbose than I am (you can wrap that in exaggeration) but I’ve been working on him. Winking smile  I liked working on that project with Rowan and it did not take a lot of convincing to get Rowan to agree to do a book with me. I’m very lucky to have him as a partner-in-crime for so many reasons!

Rowan and I are collaborating on all aspects of this project. We are both writing, but we are working very closely together so that it is not disjointed. We’ll have a common writing style and there will be a storyline and buildup of code from beginning to end. We are helping each other with decisions about samples and how information should flow.

The Game Plan

We are writing two “mini-books” for O’Reilly Media. We are writing them as though they are a continuation of Programming Entity Framework. I expect that we’ll have the same Seychelles Blue Pigeon on the cover (or some twist on that). We’ll work with the same business domain , Breakaway Geek Adventures, and there will be references to the previous book (2nd edition). There’s just no reason to repeat explanations of API stuff that is the same.

The pattern for these books follows other recent offerings from O’Reilly.  They will be short-ish (targetting 100 pages each) and presented as e-books (with print on demand availability). The first book will focus on Code First – more specifically, on building a model, database initialization etc. The second book will start where the first book ends focusing on the other half of EF 4.1, DbContext, DbSet etc. In this book we’ll be able to write real code with the combination of DbContext (etc) and Code First. This is where we’ll create some sample apps, repository, do some testing etc.  We are already about 1/2 way through writing the Code First book and hope these will be out in mid-fall.

If you take a look at the CouchDB books that Bradley Holt ( a friend and neighbor and one of the Vermont Code Camp organizers – just coincidentally Smile)  has written — Writing and Querying MapReduce Views in CouchDB, First Edition and Scaling CouchDB, First Edition (with more to come)), this is what Rowan and I are doing.  Note that Bradley’s books are also on Amazon (etc) and available for Kindle too. I don’t know how the pricing will work out.

The e-books will be in color (yay!). So as we copy our code from Visual Studio, we are leaving the code coloring in tact. The print books will be black & white.

We want to get all of the core writing done by mid-September, otherwise Rowan won’t be able to go attend his wedding and honeymoon. That wouldn’t be a great way to start a marriage, so we’re working hard toward this goal.

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

27 thoughts on “You Win! An EF 4.1 Update to Programming Entity Framework is In the Works!

  1. Crazy like a fox! A new edition means more sales, doesn’t it? 😉

    If I happen to ever need these extended chapters, I’ll be sure to buy it regardless. You deserve the $$$ anyway I suspect.


  2. Excellent approach, Julie. We appreciate the groundbreaking you’ve done in exploring this exciting technology.

    Thank you for rethinking your position on the book!!!

  3. Great news, IMO. While there are some excellent code-first articles and posts out there. More depth would be most welcome. If you need another proof-reader or technical reviewer, I’d be delighted to to that.

  4. Julie,

    This is great news on code first!

    Are their any plans on a new book for entity framework 4.2? I saw where table value functions hopefully should be supported along with code first, wcf ria silverlight?

  5. Im thinking the same thing as William Simons- EF 4.2 is "just around the corner" so it would be cool to get coverage of the new goodies there via your book(s). Please consider adding some pages on these?

    I Love It- feature creep not only applies to software! 🙂

  6. no plans for updating the 900 page book right now. Th ebooks I’m working on are one short one on code first and one short one on dbcontext/dbset and app building.

    The changes to the core api do not fit into either of these books so there’s no way to add it in. I think articles can do justice to "how to use TVFs" etc. Don’t you?

  7. Ah, ok, cant blame me for trying eh 🙂

    So are you doing anything in the way of Early Access for your upcoming books?

    I really like the way that Manning does this – does OReilly have a similar program?

  8. 🙂

    re early access, these are e-books (& print on demand) so the turn around time on them is pretty quick. Early access would be if I sent you my word docs. (& no I  can’t do that… hee hee)

  9. Hey! Looking forward to it! It wasn’t released yet, was it? I couldn’t find in any online bookstore so far!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.