April 2017
Intermediate to advanced
564 pages
24h 7m
English
The service layer is the main layer, which connects the presentation layer to the business layer. It exposes some methods through class libraries, Web APIs, or web services used by the presentation layer to perform certain operations and access data. Moreover, it also encapsulates the business logic, and exposes POST, GET , and other HTTP methods to perform certain functionality. There are few advantages of keeping it web-based instead of making it a shared library project.
The following table shows the advantages of both a web-based and a shared library:

The service layer can also contain methods that do not call the business ...
Read now
Unlock full access