Architect 1 : Building N-Tier Silverlight Application

You have a Customer table with fields of LastName and FirstName, and want to use Silverlight DataGrid to display all the records. To implement this, You can use N-tier application architect.

1.       The N-Tier Silverlight application consists of following layers: Data Entity, Data Access, Business, WCF Service and Silverlight Client.

2.       At data entity layer, build the class of Customer with properties of LastName and FirstName.

3.       At data access layer, build the method of GetCustomers.

4.       At business layer, build the method of GetCustomers. It is just a pass-through method from the data access layer because no business rule is involved here.

5.       At WCF service layer, build the method (a service operation) of GetCustomers. It is just a pass-through method from the business layer because no business rule is involved here.

6.       At Silverlight Client layer, create Customer XAML page, and add Customer DataGrid.

7.       At Silverlight Client layer, in the Customer XAML code behind, build a procedure of GetCustomers, which is an asynchronous call to the WCF Service. And pass the result to ItemsSource of the Customer DataGrid.

Published Sunday, December 20, 2009 8:00 PM by StanleyGu

Comments

# Calling WCF Services in Your Data Access Layer

Wednesday, January 13, 2010 10:13 PM by StanleyGu's Blog

After you have completed an N-tier Silverlight application (check my blog: weblogs.asp.net/stanleygu

# Calling WCF Services in Your Data Access Layer | I love .NET!

Thursday, January 14, 2010 12:16 AM by Calling WCF Services in Your Data Access Layer | I love .NET!

Pingback from  Calling WCF Services in Your Data Access Layer | I love .NET!

# Your Technical Assistant???! » Dotnet : Rich Internet Application (ria services) + Silverlight

Pingback from  Your Technical Assistant???! » Dotnet : Rich Internet Application (ria services) + Silverlight

# re: Architect 1 : Building N-Tier Silverlight Application

Thursday, March 31, 2011 9:36 AM by sushil

need to hard work --

Leave a Comment

(required) 
(required) 
(optional)
(required)