Getting Started With Azure IoT Suite

Introduction

This article is about Azure IoT Suite. I will be demonstrating an Azure IoT solution by which will be using Azure IoT Hub, Stream Analytics, and Power BI. Additionally, we will also understand through this series that even a smart phone can work as an IoT device.

Technical Requirements

  1. Microsoft Azure Subscription.
  2. Power Bi Account.
  3. Microsoft Visual Studio 2015 installed on your machine.

Tips

You can get a free temporary Azure account from here and you can sign up for a free Power BI account from here.

Getting free Power BI account

We need a Power BI account to display the live data and follow the below steps to sign up for a free account.

Open a web browser and move for Power BI page, Click on the "Sign up free" option on the top left side of the Power BI website.


We can find two options here as Power BI Desktop for Windows and Power BI by which we can get started. Select Power BI and click on "Sign Up" over here.


Give your official webmail id here and click on "Sign Up".

Note - Not your personal email address, it should be your work official address or any webmail ID that you own.


We can also invite other friends or members from our Organization in the below page, by entering their email address and clicking on Send Invitations. If you don’t want to invite any of them, click on Skip.


Now, here goes the welcome page of Power BI of our account.


Deploying the Webapp to Azure Cloud

Here, we will be deploying a web app to Azure Cloud using Visual Studio 2015.

Note

Download the solution file given with this article and move it to the documents folder of your machine.

Open the given web app file named WebDevice with help of Visual Studio 2015.


We will be getting Visual Studio 2015 opened up with your solution file, as shown.


Right click on the Solution file in Solution Explorer and click on "Restore NuGet Packages".




We can find the packages getting restored..


Now, right click on the solution name and click on "Publish".


We will be getting a "Publish Web" window as shown below. Click on Microsoft Azure App Service.


Note

Make sure you are signed in with your Microsoft Azure Account over here where your web app is going to be deployed.

Select the Subscription and click on "New".


Reserve the Web App name, subscription, create a new resource group, app service plan.


After configuring all the above details, click on "Create".


Note

We can find the deployment status, as shown below.


Here, we can find the details such as server name, site name, username and password with the destination URL as shown below. Click on "Next".


Make sure that the configuration is at "Release" and click on "Next" followed by  clicking on "Publish".


Note

We can find the web app getting published and the status can be seen at the output pane, as shown below.


Summary

Here, by this article, we have discussed about Power BI – creating an account in Power BI, deploying the web app in Microsoft Azure portal from Visual Studio 2015.

Note- Follow my next article to provision with Azure IoT Hub, configuring the connection string, configure Stream Analytics, etc.