D3: Implementing the WCF Service

D3 release 0.1322 is now available.  The work that went into this release is all about building out the WCF service which D3 will use as the interface between our mid-tier and the client.  I encountered a grab bag of issues along the way, so here’s a list of tips & tricks as well as…

0

D3: Test Fixture & Using a Fake Context While Testing a WCF Service

First off, I’ll point out that D3 Release 0.1012 is now available on code gallery.  In addition to a foray into a custom, attribute-based text parser (which I’ll not discuss in detail here unless someone really wants me to since it has little bearing on the EF), this release includes the initial outline of the…

0

Handling Concurrency: It’s a Matter of Trust

(with apologies to Billy Joel <grin>) Last summer I wrote a few articles for MSDN Magazine about N-Tier patterns with the Entity Framework (Entity Framework- Anti-Patterns To Avoid In N-Tier Applications, Entity Framework- N-Tier Application Patterns and Building N-Tier Apps with EF4).  One of the most fun parts of the project has been the emails…

1

It’s time to rip up EntityBag and throw it away

A couple of years ago when the overall shape of what we would ship in the first release of the entity framework became apparent, I realized that one of the biggest issues users of that release would fight with was creating N-tier applications.  So I started a project to explore the space by creating something…

0

Links: EF4 Podcast, N-Tier Anti-Patterns, and some thoughts about DDD

Here are a few more resources I hope you will find useful: Recently I had a conversation about EF4 with Carl and Richard of .Net Rocks, and it went up on their site today.  Have a listen at http://www.dotnetrocks.com/default.aspx?showNum=451.  In addition, I have an article about design/architecture decisions related to n-tier applications in the latest…

1

Code Sample from my Applied Entity Framework talk at TechEd 2009 now available

This week I gave a talk at TechEd focusing on architectural considerations as well as some useful tips for creating n-tier applications with the Entity Framework v3.5SP1.  The code from the simple sample application is now available at http://code.msdn.microsoft.com/dtl401sample/.  It includes: an Entity Framework-based Business Object and DAL some rudimentary validation implemented using a T4-template…

2

Building N-Tier applications with the EF – The Basics

Today I was looking at a post in the forums where someone asked a very natural and common question about the EF that I end up answering pretty frequently.  So I decided to put my answer here on my blog to make it easier to refer back to the answer in the future.  The question…

3

Part 2 of dnrTV about the Entity Framework now up

Check it out at http://www.dnrtv.com/default.aspx?showNum=118.  In this episdoe we build on the first EF dnrTV by looking at using the EF in a variety of scenarios including ASP.Net web pages with the Entity Data Source Control and with ASP.Net Dynamic Data and web services with ADO.Net Data Services and written by hand using WCF.  -…

3

EntityBag – Wrap-up and Future Directions

Over the course of quite a few posts during the last several weeks I’ve shared source code that adds up to an implementation for EntityBag<T>.  Piecing together a project from all those snippets, though, would be a pretty painful task, so I put the whole thing together in a zip file and posted it up…

7

EntityBag Part VI – RelationshipEntry

Here’s the last piece in the EntityBag saga.  RelationshipEntry is a small, DataContract serializeable class which wraps an ObjectStateEntry that represents a pair of related entities.  It contains the name of the relationship, the state of the entry, and the key or index of the entity for each end organized by the role of that…

3