Skip to content

bchavez/coyote-samples

 
 

Repository files navigation

Coyote Samples

NuGet Windows CI Linux CI macOS CI Join the chat at https://gitter.im/Microsoft/coyote

This repository contains a series of samples that highlight how to use Coyote for building reliable services and applications.

  • HelloWorldTasks: demonstrates how to write a simple Coyote application using asynchronous tasks, and then run and systematically test it locally.
  • HelloWorldActors: demonstrates how to write a simple Coyote application using actors, and then run and systematically test it locally.
  • Coffee Machine Failover (Actors): demonstrates how to systematically test the failover logic in your Coyote applications using actors.
  • Coffee Machine Failover (Tasks): demonstrates how to systematically test the failover logic in your Coyote applications using asynchronous tasks.
  • Robot Navigator Failover (Actors): demonstrates how to systematically test the failover logic in your Coyote applications using actors.
  • CloudMessaging: demonstrates how to write a Coyote application that contains components that communication with each other using the Azure Service Bus cloud messaging framework.
  • Timers in Actors: demonstrates how to use the timer API of the Coyote actor programming model.
  • BoundedBuffer: demonstrates how to use coyote rewrite to find deadlocks in unmodified C# code.

To get started, clone this repository and build the samples by running the following PowerShell script:

.\build.ps1

Then, follow the instructions in each sample.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

About

Get started with Coyote with these simple introductory sample projects.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 96.5%
  • PowerShell 3.4%
  • Batchfile 0.1%