LINQifying TheBeerHouse: An N-Tier LINQ Web Application with ASP.NET 2.0 Website Programming: Problem–Design–Solution
It seems that everywhere you turn these days in the Microsoft development world, from the desktop to the Web, LINQ is a very hot topic. Bloggers are blogging about it. Forums are buzzing with questions about it. Even as of this writing, best practices are still being developed and debated. Many who have embraced it are still trying to figure out how to put it all together, and even those who haven’t yet waded into the LINQ pool are curious as to what it’s all about.
If you count yourself among the uninitiated, take heart — and prepare to get your feet wet! In the following pages, you’ll have an opportunity to see for yourself at least a part of what LINQ has to offer, by leveraging the power of LINQ in an N-tier application you’re already familiar with — the famous TheBeerHouse website from Marco Bellinaso’s ASP.NET 2.0 Website Programming: Problem – Design – Solution.
This Wrox Blox presents two unique approaches to LINQifying TheBeerHouse. Part 1 takes advantage of Marco’s existing provider model to develop a custom LINQ to SQL data provider for the Articles module. This will show how LINQ to SQL could fit into an existing three-tier application. Part 2 takes a different approach: I show you how you could develop an ASP.NET 3.5 application using a purely LINQ-based three-tier model. Armed with this knowledge, you’ll be able to continue on your own, incorporating ...