This a minimalist template for building microservice architectures, using the IDesign Method, in Service Fabric using .NET Core 2.0, a HTTPS RESTful public API, Stateless Services, Service Fabric Remoting V2, and Swagger. It is heavily influenced by code samples that can be downloaded from the IDesign website.
It requires a local installation of Seq for logging, and a minimum of version 3.0.456 of the Service Fabric SDK and version 6.1.456 of the Service Fabric Runtime (Visual Studio 15.5.6). For further details see the Service Fabric 6.1 release notes.
The Company.ServiceFabric.sln solution includes all component, framework and configuration projects. The Company.InProc.sln solution includes only the component interfaces and implementations - this is to demonstrate just one possible way of separating business code from plumbing in order to make development and testing easier.
Be sure to update the apiCertThumbprint and the seqLocation parameters in the ApplicationManifest.xml configuration file with the appropriate values, and that all projects are set to compile to 64 bit. The local certificate installed by IIS should be fine for the API certificate.