.NET Core project that connects to the Salesforce Streaming API.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Cometd.Client
Salesforce.NetCore.Streaming.CLI
.gitattributes
.gitignore
README.md
Salesforce.NetCore.Streaming.sln

README.md

Salesforce.NetCore.Streaming.CLI

This project is an accelerator for developing applications that subscribe to the Streaming API from Salesforce. This includes Push Topics, Change Data Capture, generic events, and platform events.

There is a full write-up to support this repository available at my blog.

Prerequisites

  • .NET Core 2.1+
  • Visual Studio 2017+ / Visual Studio Code

Setup

After cloning the repository, you'll need to update the appsettings.json file with your configuration values. I strongly recommend using User Secrets, Envrionment variables, or Azure Key Vault for safe storage of several of the configuration parameters.

Credits

The CometD.NET Library in this project is one which works on versions of .NET prior to Core. I made alterations to this, primarily around how Json serialization works to make it compatible with .NET Core. Some additional modifications were also made to the library to enhance it.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT