Azure Service Fabric gives you the flexibility to implement custom communication stacks using protocols of your choice. To implement a custom communication stack, you need to implement the ICommunicationListener interface. The Reliable Services application framework provides a couple of inbuilt communication stacks that you can use, such as the default stack built on RPC proxy, WCF, REST (Web API), and HTTP (ASP.NET).
Let us build a custom stack using ASP.NET, Web API, and open web interface for .NET (OWIN) self-hosting in Service Fabric stateless Reliable Service.
This sample is inspired from the official Service Fabric Web API services with OWIN self-hosting sample from MSDN:Â https://azure.microsoft.com/en-us/documentation/articles/service-fabric-reliable-services-communication-webapi/.
If you are not familiar with Web API. This is a great...
If you are not familiar with Web API. This is a great...