kyleballard / salesforce-streaming

.NET Core project that connects to the Salesforce Streaming API.

Home Page:https://www.ballardsoftware.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

.NET Core project that connects to the Salesforce Streaming API.

https://www.ballardsoftware.com/


Languages

Language:C# 100.0%