Create an App to run Azure SDK commands sample requirements

95504669 521 Reputation points
2021-12-23T03:09:35.853+00:00

Hi. We have been using Azure SDK commands to work with Avnet board and now we are creating a simple app (either a desktop app or web app or mobile app) to enable our device onboarding easily. So that the manufacturer need not run all the SDK commands manually and every commands will be encapsulated inside the app. Do you have a sample .net c# code to integrate the Azure sphere SDK and run the commands through the code? Please advise
Thank you...

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
156 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. António Sérgio Azevedo 7,661 Reputation points Microsoft Employee
    2021-12-27T19:32:57.64+00:00

    Hi @95504669 ,
    Consider using Azure Sphere for VS Code

    "Azure Sphere Extension adds support for developing Azure Sphere applications in VS Code, including editing, building, packaging, deploying, and debugging."

    Azure Sphere for VS Code Extension makes use of The Azure Sphere public API that you can easily integrate with your C# code. Here is a C# example using Azure Sphere Public API to get tenants available to the authenticated user: Overview of the Azure Sphere Public API/Make a request.

    UPDATE (based on comments)

    As part of manufacturing process, individual devices need to connect to a PC to complete factory-floor operations. During this time, manufacturers/customers will have an option to load an application onto a device.

    During manufacturing, you must connect each Azure Sphere chip to a factory-floor PC ... You can simultaneously connect as many Azure Sphere devices to your PC as the PC's USB subsystem will support. ... We recommend that you request the Manufacturing Samples package to help you perform manufacturing tasks at scale... Support for multiple attached devices is provided only on Windows and only by the Azure Sphere CLI..

    From: Factory-floor operations - Azure Sphere | Microsoft Learn

    Thank you!

    Remember:

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.