Service applications consist of business modules and exposes business functions as internal services in a RESTful manner. Below you can see architectural diagram of this application type.
Service applications consist of four layers;
- IoC Layer: This is a base layer for every class in your application. This layer brings an out-of-the-box inversion of control container functionality.
- Data Access Layer: This layer scans your module assemblies and maps them to a database. This way it enables your application to communicate with an RDBMS.
- Business Logic Layer: This layer scans your module assemblies and registers them to IoC container.
- Service Layer: This layer scans your module assemblies and exposes your public methods as internal business services.