How it works...

Before we can run the client application, however, we need to publish our service first. In Solution Explorer, right-click on the sfApp service and click on Publish... from the context menu:

The Publish Service Fabric Application window will now be displayed. Click on the Select... button next to the Connection Endpoint textbox. Select Local Cluster as your Connection Endpoint and click on OK. Change Target profile and Application Parameters File to Local.1Node.xml. When you are done, click on the Publish button:

If you navigate ...

Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.