Programming Microsoft Azure Service Fabric is a great book. However, the source code is sometimes old.
This project is proper sample source code of the book for the current version of Azure Service Fabric v5.1.163
Unofficial source sample for Programming Microsoft Azure Service Fabric
C#