xcomponent

Develop microservices in C# using state machines.

View project on GitHub

XComponent Examples

Build all examples

Execute the following script:

PS > ./build.cmd

Consult each example’s README to see how to run each of them.

Examples overview

Step by Step tutorials

  • Hello World (Click here): standard example to demonstrate the use of XComponent without knowing too much about microservices
  • Order Processing (Click here): a simple and naïve Order Processing microservice implemented using XComponent

In depth with XComponent project example

  • Simple Authentication service (Click here): example to demonstrate how to develop a simple authentication microservice with XComponent: you will learn how to store data in a component and how to use file resources
  • Trade Capture (Click here): example to demonstrate how to develop a simple Trade Capture application with two microservices and two Wpf applications that interact wich each other
  • Rest Api Client (Click here): example to demonstrate how to consume a RestFul service with XComponent
  • Slack Gateway (Click here): example to demonstrate how to post messages to Slack with XComponent
  • Chat (Click here): example to demonstrate how to connect a front end web application with XComponent
  • Calculator (Click here): example to demonstrate how to implement triggered methods using a REST client in JavaScript.
  • Hello World in cluster mode (Click here): example to demonstrate native XComponent clustering capabilities.