O'Reilly logo

MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF by Muhammad Shujaat Siddiqi, Ryan Vice

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating the Service Layer

Now that we've got our Service Layer working, let's refactor our presentation code to use it by following these steps:

  1. Remove the reference from Northwind.Application to Northwind.Data.
  2. Right-click on Northwind.Application in Solution Explorer and select Add a Service Reference.
  3. In the dialog that pops up, click on the Discover button and set Namespace to CustomerService, as shown in the following screenshot and then click on the OK button.
    Integrating the Service Layer

    Note

    Our next section will be about adding Persistence Ignorance to the design. Persistence ignorance is the decoupling of the presentation tier from the lower data tiers. It will minimize ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required