event-hubs-dotnet-ingest

所属分类:collect
开发工具:C#
文件大小:0KB
下载次数:0
上传日期:2021-04-28 13:52:38
上 传 者sh-1993
说明:  在C#中,演示如何将数据发送到事件中心。,
(Shows how to send data to an event hub , in C#.,)

文件列表:
CHANGELOG.md (135, 2021-04-28)
CONTRIBUTING.md (3923, 2021-04-28)
EventHubSampleData/ (0, 2021-04-28)
EventHubSampleData/EventHubSampleSendData.sln (1131, 2021-04-28)
EventHubSampleData/EventHubSampleSendData/ (0, 2021-04-28)
EventHubSampleData/EventHubSampleSendData/App.config (7072, 2021-04-28)
EventHubSampleData/EventHubSampleSendData/Program.cs (2483, 2021-04-28)
EventHubSampleData/EventHubSampleSendData/Properties/ (0, 2021-04-28)
EventHubSampleData/EventHubSampleSendData/Properties/AssemblyInfo.cs (1389, 2021-04-28)
EventHubSampleData/EventHubSampleSendData/SendSampleData.csproj (11193, 2021-04-28)
EventHubSampleData/EventHubSampleSendData/packages.config (2527, 2021-04-28)
LICENSE.md (1161, 2021-04-28)

--- page_type: sample languages: - csharp products: - azure description: "This sample shows you how to send basic messages to an event hub." urlFragment: event-hubs-dotnet-ingest --- # Event hub message sample 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. # How to run this sample If you don't have an Azure subscription, create a [free account] before you begin. 1. Go to the [Azure Portal] and log in using your Azure account. 2. Clone the Repo. ```bash git clone https://github.com/Azure-Samples/event-hubs-dotnet-ingest.git ``` 3. Get to SendSampleData.csproj in EventHubSampleSendData. ```bash cd event-hubs-dotnet-ingest\EventHubSampleData\EventHubSampleSendData ``` 4. 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]. 5. Press F5 to run the project. [free account]: https://azure.microsoft.com/free/?WT.mc_id=A261C142F [Azure Portal]: https://portal.azure.com [how to get eventHub's connection string]: https://docs.microsoft.com/azure/event-hubs/event-hubs-get-connection-string#get-connection-string-from-the-portal

近期下载者

相关文件


收藏者