This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Tech Community.
Azure Sphere is designed around around the 7 principles of highly secured devices and when learning more about these you will realize that the developer has a big role to play in securing IoT devices.
What is the developer experience like when working with Azure Sphere? What's new or different that you need to learn as an application developer? The good news is the experience is identical to writing any other application in Visual Studio.
Before we take a look at what the developer experience looks like for Azure Sphere, let’s review some fundamentals.
Azure Sphere overview
You can use Azure Sphere in two scenarios:
- Azure Sphere can be embedded into a new device (greenfield)
- An Azure Sphere device can act as a guardian module for currently installed, legacy devices (brownfield) that you don’t want to connect to the internet for security reasons or just can't because of limited networking capabilities, but that are producing interesting telemetry data that you would like to analyze.
Azure Sphere is about IoT hardware so the first step is to pick your hardware. One choice is the Azure Sphere MT3620 Development Kit from Seeed.
Visual Studio 2019 is the IDE you will need to get started along with the Azure Sphere SDK onto your device.
One thing that will differ from what you might be familiar with is the fact that before you can start coding anything you will need to
- create a tenant on the Azure Sphere security service
- claim your device into this tenant to ensure only you can push code to it and have full control over it
- Enable development on the device
- Create the app manifest: on Azure Sphere, each application only has access to the hardware resource it needs, and developers need to create an app manifest that indicates to the secure OS which HW resources the app will be using
Once you have done these, you can go ahead and start blinking the LEDs - as we all know blinky is the Hello World for IoT. Writing, deploying, debugging your application will be the same experience as any other application developed in Visual Studio.
See the developer experience demo live
Watch Mike Hall, Principal Software Engineering lead for Azure Sphere, step through both a blinky application and a guardian module application on the #IoTShow.
To get started yourself, it's this way.
Feel free to share your impressions and comments below with your fellow IoT developers!