This repo contains the CometD .NET Core implementation for Salesforce Platform events.
CometD.NetCore2.Salesforce
- Salesforce Platform Events as Event Bus eShopOnContainers
AuthApp
- utility to retrieve
Access Token
andRefresh Token
to be used byTestApp
.
- utility to retrieve
TestApp
- sample application to test the code.
PM> Install-Package CometD.NetCore2.Salesforce
- Sing up for development sandbox with Saleforce: https://developer.salesforce.com/signup.
- Create Connected App in Salesforce.
- Create a Platform Event.
- Setup -> Quick Find -> manage -> App Manager -> New Connected App.
- Basic Info:
-
Retrieve
Consumer Key
andConsumer Secret
to be used within the Test App
- 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
Use login instead of test
Simple application that provides with Web Server OAuth Authentication Flow to retrieve
Access Token
and Refresh Token
to be used within the application.