Azure Event Hubs for .NET Developers: Fundamentals

Azure Event Hubs is a telemetry ingestion service to collect millions of events. This course will teach you how to use Event Hubs, including sending and receiving events in .NET, using Stream Analytics, and triggering Azure Functions and Logic Apps.
Course info
Rating
(36)
Level
Beginner
Updated
Feb 22, 2018
Duration
4h 57m
Table of contents
Course Overview
Looking at the Scenario
Setting up an Event Hub in Azure
Building a WPF Simulator App to Send Events
Consuming Events in a .NET Core Application
Analyzing Real-time Data with Stream Analytics and Power BI
Archiving Events with Event Hub Capture
Triggering Other Azure Services with Event Hubs
Description
Course info
Rating
(36)
Level
Beginner
Updated
Feb 22, 2018
Duration
4h 57m
Description

At the core of building a hyper-scalable event-processing solution in Azure is a thorough knowledge of how to use Azure Event Hubs. In this course, Azure Event Hubs for .NET Developers: Fundamentals, you will learn the skills you need to create a full event-processing pipeline in Azure. First, you will learn how to set up an Azure Event Hub and how to send and receive events in a .NET application. Next, you will discover how to build a real-time dashboard with Stream Analytics and Power BI. Finally, you will explore how to archive the events for long-time storage and how to trigger Azure Functions and Azure Logic Apps with events from an Event Hub. When you’re finished with this course, you will have a foundational understanding of Azure Event Hubs that will help you immensely as you move forward and create your own .NET applications and IoT solutions that use Azure Event Hubs to collect and store millions of events.

About the author
About the author

Thomas is a well-known author, software developer, and speaker from Germany. He specializes in .NET, C#, TypeScript, XAML, and Azure.

More from the author
.NET Standard: Getting Started
Intermediate
2h 44m
May 14, 2018
More courses by Thomas Claudius Huber
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone, my name is Thomas Claudius Huber, and welcome to my course Azure Event Hubs for. NET Developers Fundamentals. I am a software developer, and I have a passion for building professional applications with. NET and Microsoft Azure. In this course, you will learn how to use Azure Event Hubs, the highly scalable telemetry ingestion service that can collect and store millions of events. You can use Azure Event Hubs to collect sensor data from your IoT devices, but also from many other event-driven scenarios, like for example, collecting log data from web, desktop, or mobile applications. This course covers the fundamentals of building event driven solutions with Azure Event Hubs. Some of the major topics that we will cover include setting up and configuring an Azure Event Hub in the Azure portal, building a coffee machine simulator with WPF that will send events to the Event Hub, receiving events from the Event Hub in. NET Core applications, using Stream Analytics and Power BI to build a real-time dashboard that displays the data collected by the Event Hub, and triggering Azure functions and Azure logic apps when events are available in the event hub. By the end of this course, you will know how to use Azure Event Hubs to build highly scalable event-driven solutions with Microsoft Azure in. NET. Before beginning the course, you should be familiar with the C# programming language. No prior experience with Azure Event Hubs is required. I hope you will join me on this journey to learn about Azure Event Hubs with the Azure Event Hubs for. NET Developers Fundamentals course at Pluralsight.

Looking at the Scenario
Welcome to the course, Azure Event Hubs for. NET Developers Fundamentals. My name is Thomas Claudius Huber, and in this course, I will show you how you can use Azure Event Hubs to build modern event-driven solutions with. NET and Microsoft Azure. In this very first module, looking at the scenario, we will first answer the question, what are Azure Event Hubs? So you see, no previous knowledge of Azure Event Hubs is needed to start this course. You will learn what Azure Event Hubs are and for what you can use them in your applications. After you have a basic knowledge of Azure Event Hubs, you will learn about the wired brain coffee machine scenario that we will use throughout this course. The idea of this scenario is that you will use Azure Event Hubs to collect sensor data from coffee machines. After you are familiar with this scenario, I will show you what you will build in this course. Besides setting up an Event Hub in Azure, you will learn how to build a WPF application that simulates a coffee machine and sends events to the Event Hub. You will also learn how to build a. NET Core application that consumes events from the Event Hub, and you will learn how to build the real-time dashboard in Power BI to display life data and much more. After you are familiar with the scenario and after you have seen what you will build in this course, I will show you the course outline. Now let's start and let me explain you what Azure Event Hubs are and for what you can use them in your applications.

Setting up an Event Hub in Azure
Welcome to the module, Setting up an Event Hub in Azure. My name is Thomas Claudius Huber. In this module, you will learn how to create and configure an Event Hub in Azure. Let's take a look at the module outline. First, I will show you how to set up an Event Hub in the Azure portal. You will see that an Event Hub is part of an Event Hub namespace, and that you can configure things like throughput units and partitions. We will ensure that you understand what throughput units and partitions are, and how you can use them to scale your Event Hub. Finally, I will show you how you can calculate the costs of your Event Hub. Now let's start and let's set up an Event Hub in the Azure portal.

Consuming Events in a .NET Core Application
Welcome to the module Consuming Events in a. NET Core Application. My name is Thomas Claudius Huber. In this module, you will learn how you can receive events from your Event Hub in. NET Core. As you know, we are using the Wired Brain Coffee machine scenario in this course, and in the previous module, you have built a coffee machine simulator application that sends events to the Event Hub. In this module, you will build a. NET Core application that reads the events. But as there are two major ways how to receive events from an Event Hub in. NET Core, you will build two. NET Core applications, one for each way. Let's take a look at the module outline. In the first part of this module, you will learn how to consume events from your Event Hub with an EventHubClient. You have used this class already in the previous module to send events from the coffee machine simulator to the Event Hub. Now you will learn how you can use it to receive events. After you are familiar with consuming events with the EventHubClient, you will learn how to consume events with an EventProcessorHost. EventProcessorHost is an abstraction that is using an EventHubClient under the hood. It adds additional features on top. For example, it stores the offset in Azure. So if you stop your application and you start it again, it will read all the events it hasn't read yet by using the offset. Beside the offset, an EventProcessorHost also synchronizes multiple reader instances for horizontal scaling. That means you can just start up multiple instances of your application to scale. Beside all of this, you will also learn about consumer groups of an Event Hub, and you will learn more about an Event Hub's partitions. Now let's start and let's consume events with an EventHubClient.