Ιανουάριος 2009 - Δημοσιεύσεις

Diagram of message lifecycle in WCF service host

A collegue of mine discovered an excellent diagram on MSDN which describes the lifecycle of a WCF message when it reaches the host. The page describes how to extend dispatchers, which is kind of advanced scenario, but the diagram is very usefull to understand how the layers of WCF interact with each other and participate in the handling of a request. Check it out !

Διαβάστε περισσότερα »

The mystery of order of inserts in Entity Framework

I'm trying to figure out one thing for weeks but I can't! And maybe its the first time I cannot get a straight answer from MSDN forums (by the way MSDN forums have been revamped recently. Pretty nice result. Check it out!). Here is the scenario I have an instance of an ObjectContext of Entity Framework, I add 6 new objects of the same type using AddObject and then SaveChanges is executed: context.AddObject(New Person { Name = "1st" }); context.AddObject(New Person { Name = "2nd" }); context.AddObject(New Person

Διαβάστε περισσότερα »