Skip to content

kdcllc/CometD.NetCore

Repository files navigation

CometD for Salesforce Platform events

GitHub license Build status NuGet Nuget feedz.io

Note: Pre-release packages are distributed via feedz.io.

Summary

This repo contains the CometD .NET Core implementation of the Java ported code.

buymeacoffee

Give a Star! ⭐

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

Install

    dotnet add package CometD.NetCore2

Projects that utilize this library

Configure Salesforce Developer instance

Watch: Salesforce Platform Events - Video

  1. Sing up for development sandbox with Saleforce: https://developer.salesforce.com/signup.
  2. Create Connected App in Salesforce.
  3. Create a Platform Event.

Create Connected App in Salesforce

  1. Setup -> Quick Find -> manage -> App Manager -> New Connected App.
  2. Basic Info:

info

  1. API (Enable OAuth Settings):

settings

  1. Retrieve Consumer Key and Consumer Secret to be used within the Test App

Create a Platform Event

  1. Setup -> Quick Find -> Events -> Platform Events -> New Platform Event:

event

  1. Add Custom Field

event

(note: use sandbox custom domain for the login to workbench in order to install this app within your production)

Use workbench to test the Event workbench

OAuth Apps

Use login instead of test

Special thanks to our contributors

Related projects