Category Archives: Technical

Smarter Tx Promotion with SQL Server 2008

A while ago I blogged on a gotcha to watch out for when using System.Transactions with SQL Server 2005. Basically, if you open a second connection to SQL Server from inside a using block in which you create a new … Continue reading

Posted in Technical | Leave a comment

Entity Framework Preview

The Entity Framework team just released CTP 1 of the Entity Framework for .NET 4.0 Beta 1. The next version of the Entity Framework has a bunch of cool features a lot of have been clamoring for, such as support … Continue reading

Posted in Technical | 2 Comments

LINQ to SQL: It Lives! (sort of)

A lot of people are confused about whether or not they should use LINQ to SQL, because the word on the street is that Microsoft decided to kill it in favor of another ORM stack, the ADO.NET Entity Framework. The … Continue reading

Posted in Technical | 2 Comments

DevelopMentor is Alive and Well

Amazing the speed at which false rumors can fly across the Internet. One such rumor was that DevelopMentor had ceased to exist. Nothing could be further from the truth. Check out Mark Blomsma’s post: Don’t Believe Everything You Read or … Continue reading

Posted in Personal, Technical | Leave a comment

ASP.NET: Internet Explorer Cannot Display the Web Page

After installing a recent Windows Update, I was no longer able to run ASP.NET web apps using localhost. It seems the update removed an entry from my hosts file, located in C:\Windows\System32\drivers\etc, removing the entry that maps localhost to the … Continue reading

Posted in Technical | Leave a comment

T4 POCO Templates for L2S and EF

In my MSDN Magazine article on SOA Data Access I recommend exposing Data Transfer Objects (DTOs) from the Data Access Layer (DAL). These objects should be Plain Old CLR Objects (POCOs) that are Persistent Ignorant (PI), eschewing traces of any … Continue reading

Posted in Technical | 2 Comments

Bug in EF v.1 Limits N-Tier Scenarios

About a month ago I wrote a blog post on an extension method for the Entity Framework called AttachAsModified, which was offered by Danny Simmons shortly after PDC as a way to perform disconnected updates from an n-tier service. Unfortunately, … Continue reading

Posted in Technical | Leave a comment

Hot Off the Presses: SOA Data Access!

I wrote an article for the December issue of MSDN Magazine, which has just hit the streets: The title is: Flexible Data Access With LINQ To SQL And The Entity Framework, and you can download the accompanying code here. The … Continue reading

Posted in Technical | 15 Comments

VS 2010: It’s Time to Play

Are you ready to ride the next generation platform wave? Here are two links to get you started with Visual Studio 2010, .NET 4.0, C# 4, F#, the Parallel Computing Platform, and many other new technologies revealed at the Microsoft … Continue reading

Posted in Technical | Leave a comment

Better N-Tier Concurrency Management for the Entity Framework

I just wrote an article for MSDN Magazine (due out in December) about developing n-tier applications for both LINQ to SQL and the Entity Framework. While researching the topic, I noticed a certain awkwardness with the Entity Framework API when … Continue reading

Posted in Technical | 3 Comments