From the course: Azure Service Fabric for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Communication between Service Fabric services with remoting - Azure Tutorial
From the course: Azure Service Fabric for Developers
Communication between Service Fabric services with remoting
- [Instructor] With the IProduct service interface in place let's go ahead and implement it in the product service. But first we have to reference the core project. So let's right click here and add the reference to the core project. I'm going to do that in the search project as well, add reference to the API core project. Excellent. Now let's open these products class because it's the service itself, and here I'm going to implement IProductsService. This will be the perfect place to implement data access, but in this course we're going to use sample data to keep things simple. So I'm going to return Task FromResult, true, a new product based on the ID and a Name. I'm going to use the ID as well as the name and null. Of course I have to cast this as bool, Product, and string. Perfect. And now let's get rid of this RunAsync method because we don't need it anymore. I'm just going to delete it. And here we need to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Supported application models in Service Fabric2m 15s
-
(Locked)
Creating Service Fabric stateless Reliable Services with .NET Core4m 18s
-
(Locked)
Creating Service Fabric stateless Reliable Services with ASP.NET Core3m 26s
-
(Locked)
Configuring service ports in Service Fabric applications1m 47s
-
(Locked)
Implementing a common interface for communication between Service Fabric services3m 47s
-
(Locked)
Communication between Service Fabric services with remoting6m 49s
-
(Locked)
Communication between Service Fabric services with HTTP8m 17s
-
(Locked)
Communicating to Service Fabric services by using WCF7m 39s
-
(Locked)
Challenge: Developing an Azure Service Fabric application by using stateless services1m 49s
-
(Locked)
Solution: Developing an Azure Service Fabric application by using stateless services1m 20s
-
(Locked)
-
-
-