CometD.NetCore
CometD.NetCore copied to clipboard
CometD for use with Salesforce Platform Events
CometD for Salesforce Platform events
Note: Pre-release packages are distributed via feedz.io.
Summary
This repo contains the CometD .NET Core implementation of the Java ported code.
CometD.NetCore2- CometD.org implementation, supports replay id.- CometD.NetCore.Salesforce project - provides with implementation of this library.
Give a Star! :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
- CometD.NetCore.Salesforce - contais Saleforce Auth utility and implementation for relay id.
- Bet.BuildingBlocks.SalesforceEventBus - reusable EvenBus for Salesforce.
Configure Salesforce Developer instance
Watch: Salesforce Platform Events - Video
- Sing up for development sandbox with Saleforce: https://developer.salesforce.com/signup.
- Create Connected App in Salesforce.
- Create a Platform Event.
Create Connected App in Salesforce
- Setup -> Quick Find -> manage -> App Manager -> New Connected App.
- Basic Info:

- API (Enable OAuth Settings):

- Retrieve
Consumer KeyandConsumer Secretto be used within the Test App
Create a Platform Event
- Setup -> Quick Find -> Events -> Platform Events -> New Platform Event:

- Add Custom Field

(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
