Giter Club home page Giter Club logo

event-hubs-dotnet-ingest's Introduction

page_type languages products description urlFragment
sample
csharp
azure
This sample shows you how to send basic messages to an event hub.
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.

    git clone https://github.com/Azure-Samples/event-hubs-dotnet-ingest.git
  3. Get to SendSampleData.csproj in EventHubSampleSendData.

    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.

event-hubs-dotnet-ingest's People

Contributors

jongio avatar kerend avatar mgblythe avatar microsoftopensource avatar msftgits avatar supernova-eng avatar v-hearya avatar yihezkel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

event-hubs-dotnet-ingest's Issues

Compilation error - 'EventHubProducerClient': type used in a using statement must be implicitly convertible to 'System.IDisposable'

  • bug report -> please search issues before submitting
  • feature request
  • [X ] documentation issue or request
  • regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Clone and build the solution > Got compilation error.

Any log messages given by the failure

image
Error CS1674 'EventHubProducerClient': type used in a using statement must be implicitly convertible to 'System.IDisposable' SendSampleData C:\Dev\event-hubs-dotnet-ingest\EventHubSampleData\EventHubSampleSendData\Program.cs 23 Active

image

Expected/desired behavior

No compilation errors

OS and Version?

Windows 10

Versions

Latest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.