Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 842 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 842 Bytes

C# program to send JSON data to Azure Event Hub

Steps:

  1. Clone the project and replace the private members connectionString and eventHubName of Program class in Program.cs file.
  2. Build and run the VS solution.
  3. Go to Azure Portal -> Your Event Hub Namespace -> Your Event Hub -> Process data -> Enable real time insights from events.
  4. You should see the sample data in your Event Hub like the screenshot below.

Eh_Query_Result

Reference:

  1. https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-dotnet-standard-getstarted-send
  2. https://www.c-sharpcorner.com/article/sending-event-data-to-azure-event-hub
  3. https://www.datahai.co.uk/general/visual-studio-code-c-app-for-sending-messages-to-azure-event-hubs