page_type | languages | products | description | urlFragment | ||
---|---|---|---|---|---|---|
sample |
|
|
This sample shows you how to send basic messages to an event hub. |
event-hubs-dotnet-ingest |
This sample shows you how to send basic messages to an event hub, which allows you to test consumption of those messages by other applications that connect to the event hub.
If you don't have an Azure subscription, create a free account before you begin.
-
Go to the Azure Portal and log in using your Azure account.
-
Clone the Repo.
git clone https://github.com/Azure-Samples/event-hubs-dotnet-ingest.git
-
Get to SendSampleData.csproj in EventHubSampleSendData.
cd event-hubs-dotnet-ingest\EventHubSampleData\EventHubSampleSendData
-
Open the solution in Visual Studio, filled in the eventHub's connection string. You can get help with how to get eventHub's connection string.
-
Press F5 to run the project.