ProgrammingServiceFabric icon indicating copy to clipboard operation
ProgrammingServiceFabric copied to clipboard

Source code for the Programming Microsoft Azure Service Fabric book

Programming Service Fabric

Source code for the Programming Microsoft Azure Service Fabric book

Version 2 Source Code

Chapter 1

  • HelloWorldApplication The Hello, World! application of Service Fabric.

Chapter 2

  • CalculatorApplication 5 different versions of the calculator service.
  • StatelessApplication The Hello, World! stateless web application.
  • gRPCApplication Sample application that uses gRPC.

Chapter 3

  • SimpleStoreApplication A simple online store application.

Chapter 4

  • ActorTicTacToeApplication A Tic-Tac-Toe game simulator using Actors.
  • CarApplication A car Actor sample that shows timers.

Chapter 5

  • ConsoleRedirectTestApplication A guest executable (script) host example with console redirection.
  • HelloWorldWithData A Hello, World! stateful service.
  • NodeJsHelloWorldApplication A Hello, World! Node.js service.
  • ResourceGovernance A resource goverance policy demostration.
  • UpgradeProcess The test application used in upgrade experiments.

Chapter 6

  • BadApplication A stateful application that purposely fails during failover.
  • ChaosTest A console application that drives a chaos test against a local cluster.
  • ConfigurationUpdate The test application used in configuration update experiments.
  • Diagnostics The test application used in diagnostics experiments.
  • FailoverTest The test application used in failover experiments.

Chapter 7

  • CustomSerializerTest A sample of using a custom IStateSerializer.

Chapter 8

  • DeploymentTest The test application used in deployment experiments.

Chapter 10

  • ApplicationInsightsTestApplication Sample Application Insights integration.
  • CustomHealthReportApplication A sample application that sends custom health reports.
  • EventFlowTestApplication Sample Event Flow integration.
  • OMSTestApplication Sample OMS integration.

Chapter 11

  • SudokuApplication Sample Sudoku application (incomplete).

Chapter 12

  • ActorApplication A sample Actor application in Java.
  • CalculatorApplication A sample calculator service written in Java.
  • GuestPythonApplication A sample guest host application on Linux that hosts a Python Flask web server.
  • HelloWorldLinux A Hello, World! application on Linux.
  • StatefulApplication A stateful service written in Java.

Chapter 13

  • Docker-HelloWorld-Windows A Hello, World! application using a Windows Docker container.
  • DockerCompose-HelloWorld A Hello, World! application using Docker Compose (with a Node.js app).
  • Minecraft A sample of deploying a HA Minecraft server with Service Fabric.

Chapter 14

  • IrisApp A sample Python application that uses scikit-learn.
  • ServiceMesh A sample Go application on a service mesh using Envoy.
  • Watchdog A C# watchdog monitoring a Java app.

Chapter 15

  • PortSharing Port sharing test application.
  • TenantManager A simple implementation of a tenant manager.

Chapter 16

  • ECommerceApp A sample application with multi-level partitions and a test client.
  • NumberConverterApp A sample application that uses Event Hub.

Chapter 17

Chapter 18

  • ReactiveActors A sample reactive application using actors.
  • aci The test application used in ACI experiments.

Chapter 19

  • ArchiBot A prototype of an architecture bot.

Version 1 Source Code

V1-Samples contains projects from the version 1 book that are not brought forward to version 2 (contributed by @alessandro-avila)

Reader Corrections

Spot a mistake? Please contribute a correction. See instructions here.

Missing Chapters

Coming Late 2018