Now that we've got our Service Layer working, let's refactor our presentation code to use it by following these steps:
Remove the reference from
Right-click on Northwind.Application in Solution Explorer and select Add a Service Reference.
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 the refactoring needed for the presentation when changing your data providers (services, database, ORM, and so on). To appreciate the value of persistence ignorance, take note of how much refactoring we have to do in the next few steps, in the presentation tier, to change our application to use services. If our application were persistence...