Entity Framework 4.0 and Multiple Data Contexts

In the EF version 1.0, there was a problem when one would try to update multiple contexts as part of a single transaction.  For example, I can use Transaction Scope, the update one context, then second context.  Here is sample code to illustrate:   using (TransactionScope scope = new TransactionScope()) { try { using (RolodexEntities …

Continue reading ‘Entity Framework 4.0 and Multiple Data Contexts’ »

WCF RIA Services Validation

Today I am continuing exploring WCF RIA Services.  I am going to discuss validation in RIA Services. Any business application needs to validate user input.  I am going to start with a simple case.  In my sample application a user can enter a company information.  I would like to setup RIA Services to force the …

Continue reading ‘WCF RIA Services Validation’ »

Windows Azure

I just want to relay Microsoft’s new offer to everyone.  Windows Azure is now offered for free for a limited time.  This is an introductory offer to get more people to use new cloud platform from Microsoft.  Please see this link for details.

Speaking at Atlanta .NET Users Group

I spoke at Atlanta.NET Users Group yesterday, My topic was Azure Step-by-Step. I talked about why someone would use Windows and SQL Azure, then I built a Silverlight application from scratch.  The application was designed to run in Windows Azure and use SQL Azure as database.  I demonstrated how to get maximum code re-use between …

Continue reading ‘Speaking at Atlanta .NET Users Group’ »