From the course: Azure Service Fabric for Developers

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Implementing a common interface for communication between Service Fabric services

Implementing a common interface for communication between Service Fabric services - Azure Tutorial

From the course: Azure Service Fabric for Developers

Implementing a common interface for communication between Service Fabric services

- [Instructor] It'd be of little help to have isolated services in the eCommerce application. To fully take advantage of the Service Fabric platform, we need to communicate from one service to another. To explain what we're going to do, let me show you the following diagram. We're going to communicate from the search service to the products service. Because of the separation of concerns principal, the products service should have the business logic to manage the products in the system. Also, this is suitable in a microservices architecture. We're going to define a common interface between those services. This interface is the public-facing API for all the services that want to invoke the product's functionality, in this case, the search service. Both services are going to reference the interface. For instance, the products service is going to implement the interface in a concrete path. Finally, we're going to use the…

Contents