This document is known to be outdated
To create an Event Hub to use with the sample applications, you need an active Azure account.
If you don't have an account, you can create a free trial account in just a couple of minutes. For details, see Azure Free Trial.
To create an Event Hub:
-
Log on to the Azure management portal, and click + NEW at the bottom of the screen.
-
Click App Services, then Service Bus, then Event Hub, then Quick Create.
- Type a name for your Event Hub, select your desired region, and then click Create a new Event Hub.
Make a note of the name of the Event Hub you create.
- Click the namespace you just created (usually event hub name-ns).
- Click the Event Hubs tab at the top of the page, and then click the Event Hub you just created.
- Click the Configure tab at the top of the page, add a rule named SendRule with Send permissions, add another rule called ReceiveRule with Manage, Send, Listen permissions, and then click Save.
- Click Dashboard at the top of the page, and then click View Connection String.
Make a note of the SendRule and ReceiveRule connection strings.
Your Event Hub is now created, and you have the connection strings you need to send and receive events.