Skip to Main Content
Implementing Azure: Putting Modern DevOps to Use
book

Implementing Azure: Putting Modern DevOps to Use

by Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali
January 2019
Intermediate to advanced content levelIntermediate to advanced
754 pages
18h 13m
English
Packt Publishing
Content preview from Implementing Azure: Putting Modern DevOps to Use

Up and down counter application

Let's build a simple stateful application that would help us understand the various aspects of a reliable stateful application. We will build an up and down counter that will increment or decrement a counter value depending on the partition it belongs to. We will save the counter value in a ReliableDictionary instance and trace the current state of the dictionary so that we can visualize it in the Diagnostics Event Viewer console.

To begin, using Visual Studio create a new Service Fabric application named StatefulUpDownCounterApplication and add a Stateful Reliable Service to it. Name the service UpDownCounterService:

Create Stateful Service dialog

Let's first create two partitions of this service. For this ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Getting Started with Containers in Azure: Deploy, Manage, and Secure Containerized Applications

Getting Started with Containers in Azure: Deploy, Manage, and Secure Containerized Applications

Shimon Ifrah
Implementing Azure Solutions

Implementing Azure Solutions

Florian Klaffenbach, Oliver Michalski, Jan-Henrik Damaschke
Understanding Azure Monitoring: Includes IaaS and PaaS Scenarios

Understanding Azure Monitoring: Includes IaaS and PaaS Scenarios

Bapi Chakraborty, Shijimol Ambi Karthikeyan

Publisher Resources

ISBN: 9781788833936Supplemental Content