You can find the sample code at the Github repository:
https://github.com/dotnetcore/CAP/tree/master/samples