Deployment Guide: How to Configure a Web Server to Host LightSwitch Applications

Note: This information has been updated since original posting and now applies to Visual Studio LightSwitch 2011 RTM. For information on deployment enhancements with LightSwitch in Visual Studio 2012 (LightSwitch V2) please see LightSwitch IIS Deployment Enhancements in Visual Studio 2012. Visual Studio LightSwitch applications are logically three-tier applications and consist of a client, application… Read more

N-Tier Application Patterns with Entity Framework

This month’s MSDN Magazine has a particularly good article in there by Danny Simmons, Development Manager on the Entity Framework team, on N-Tier Application Patterns with Entity Framework that I recommend reading through. He explains the design considerations you need to take into account when building n-tier applications and also discusses some of the improvements that… Read more

ADO.NET Data Services – Building an Excel Client

Last few posts I’ve been building a WPF client against ADO.NET Data Services, if you missed them: Using ADO.NET Data Services ADO.NET Data Services – Building a WPF Client ADO.NET Data Services – Enforcing FK Associations and a Fix for Deleting Entities ADO.NET Data Services – Intercepting Queries and Adding Validation Today I want to… Read more

ADO.NET Data Services – Intercepting Queries and Adding Validation

Last few posts I’ve been building a WPF client against ADO.NET Data Services, if you missed them: Using ADO.NET Data Services ADO.NET Data Services – Building a WPF Client ADO.NET Data Services – Enforcing FK Associations and a Fix for Deleting Entities Today I want to show you how we can add validation or any… Read more

ADO.NET Data Services – Enforcing FK Associations and a Fix for Deleting Entities

Last post I described one way to build a smart client in WPF against ADO.NET Data Services. In this example we are editing the products table and associating them to categories in the categories table from Northwind. In the Northwind database the CategoryID on the Products table allows nulls so that you can have products… Read more

ADO.NET Data Services – Building a WPF Client

In my last post I introduced ADO.NET Data Services and how you can easily expose your data model via RESTful services that support the basic CRUD (Create,Retrieve,Update,Delete) operations. Basic CRUD database operations map well to the familiar HTTP verbs POST, GET, MERGE, DELETE and the framework takes care of the plumbing for us. In this… Read more

Data on the Smart Client Talk at Bay.NET UG

Last night I spoke to SF Bay.NET user’s group on Data Binding in Winforms and WPF, focusing on Line-of-Business (LOB) application scenarios. I showed how you can use the same data sources with Winforms and WPF, walking through binding scenarios with DataSets, custom object collections and some LINQ to SQL classes. I showed the common… Read more

LINQ to SQL N-Tier Smart Client – Part 3 Database Transactions

In my previous posts this week I showed how to build a simple distributed application with a Windows client, a WCF hosted middle-tier and a data access layer that used LINQ to SQL: LINQ to SQL N-Tier Smart Client – Part 1 Building the Middle-Tier LINQ to SQL N-Tier Smart Client – Part 2 Building… Read more

LINQ to SQL N-Tier Smart Client – Part 2 Building the Client

In my last post we built the service and data access layer for our LINQ to SQL N-Tier application. In this post we’ll walk through building a very simple Windows client form that works with our middle-tier. Adding the Service Reference Now that we have our middle-tier built it’s time to add the service reference… Read more

LINQ to SQL N-Tier Smart Client – Part 1 Building the Middle-Tier

In my previous posts on LINQ to SQL I showed how to build LINQ to SQL classes and set up the data binding in your Windows applications. If you missed them: Related Data Binding and ComboBoxes with LINQ to SQL Creating Lookup Lists with LINQ to SQL One-To-Many (Master-Detail) Forms with LINQ to SQL Simple… Read more