Skip to content

Commit 1d1699e

Browse files
authored
Merge pull request #72316 from robinsh/robinsh-cleanup-94-98
Cleanup for 94-98.
2 parents e6802da + 8fc6b06 commit 1d1699e

21 files changed

+163
-187
lines changed

articles/iot-hub/iot-hub-c-c-module-twin-getstarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ In this section, you create a C app on your simulated device that updates the mo
173173
174174
1. **Get your module connection string** -- now if you login to [Azure portal](https://portal.azure.com). Navigate to your IoT Hub and click IoT Devices. Find myFirstDevice, open it and you see myFirstModule was successfully created. Copy the module connection string. It is needed in the next step.
175175
176-
![Azure portal module detail](./media/iot-hub-csharp-csharp-module-twin-getstarted/module-detail.JPG)
176+
![Azure portal module detail](./media/iot-hub-c-c-module-twin-getstarted/module-detail.png)
177177
178178
2. **Create UpdateModuleTwinReportedProperties app**
179179
Add the following `using` statements at the top of the **Program.cs** file:

articles/iot-hub/iot-hub-csharp-csharp-module-twin-getstarted.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ In this section, you create a .NET console app on your simulated device that upd
4949

5050
1. **Create a Visual Studio project:** In Visual Studio, add a Visual C# Windows Classic Desktop project to the existing solution by using the **Console App (.NET Framework)** project template. Make sure the .NET Framework version is 4.6.1 or later. Name the project **UpdateModuleTwinReportedProperties**.
5151

52-
![Create a visual studio project](./media/iot-hub-csharp-csharp-module-twin-getstarted/update-twins-csharp1.JPG)
52+
![Create a visual studio project](./media/iot-hub-csharp-csharp-module-twin-getstarted/update-twins-csharp1.png)
5353

5454
2. **Install the latest Azure IoT Hub .NET device SDK:** Module identity and module twin is in public preview. It's only available in the IoT Hub prerelease device SDKs. In Visual Studio, open tools > Nuget package manager > manage Nuget packages for solution. Search Microsoft.Azure.Devices.Client. Make sure you've checked include prerelease check box. Select the latest version and install. Now you have access to all the module features.
5555

5656
![Install Azure IoT Hub .NET service SDK V1.16.0-preview-005](./media/iot-hub-csharp-csharp-module-twin-getstarted/install-sdk.png)
5757

5858
3. **Get your module connection string** -- now if you login to [Azure portal](https://portal.azure.com/). Navigate to your IoT Hub and click IoT Devices. Find myFirstDevice, open it and you see myFirstModule was successfully created. Copy the module connection string. It is needed in the next step.
5959

60-
![Azure portal module detail](./media/iot-hub-csharp-csharp-module-twin-getstarted/module-detail.JPG)
60+
![Azure portal module detail](./media/iot-hub-csharp-csharp-module-twin-getstarted/module-detail.png)
6161

6262
4. **Create UpdateModuleTwinReportedProperties console app**
6363

@@ -155,7 +155,7 @@ In this section, you create a .NET console app on your simulated device that upd
155155

156156
## Run the apps
157157

158-
You are now ready to run the apps. In Visual Studio, in Solution Explorer, right-click your solution, and then click **Set StartUp projects**. Select **Multiple startup projects**, and then select **Start** as the action for the console app. And then press F5 to start the app.
158+
You are now ready to run the apps. In Visual Studio, in Solution Explorer, right-click your solution, and then click **Set StartUp projects**. Select **Multiple startup projects**, and then select **Start** as the action for the console app. And then press F5 to start the app.
159159

160160
## Next steps
161161

articles/iot-hub/iot-hub-portal-csharp-module-twin-getstarted.md

Lines changed: 15 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ ms.date: 04/26/2018
1818
1919
In this tutorial, you will learn:
2020

21-
1. How to create a module identity in the portal.
21+
1. How to create a module identity in the portal.
2222

23-
2. How to use .NET device SDK update the module twin from your device.
23+
2. How to use a .NET device SDK update the module twin from your device.
2424

2525
> [!NOTE]
26-
> For information about the Azure IoT SDKs that you can use to build both applications to run on devices, and your solution back end, see [Azure IoT SDKs][lnk-hub-sdks].
26+
> For information about the Azure IoT SDKs that you can use to build both applications to run on devices, and your solution back end, see [Azure IoT SDKs](iot-hub-devguide-sdks.md).
2727
>
2828
2929
To complete this tutorial, you need the following:
3030

3131
* Visual Studio 2015 or Visual Studio 2017.
32-
* An active Azure account. (If you don't have an account, you can create a [free account][lnk-free-trial] in just a couple of minutes.)
32+
* An active Azure account. (If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.)
3333

3434
## Create an IoT hub
3535

@@ -45,13 +45,13 @@ To complete this tutorial, you need the following:
4545

4646
## Create a module identity in the portal
4747

48-
Within one device identity, you can create up to 20 module identities. Click the **Add Module Identity** button on top to create your first module identity called **myFirstModule**.
48+
Within one device identity, you can create up to 20 module identities. Click the **Add Module Identity** button on top to create your first module identity called **myFirstModule**.
4949

50-
![Device details][9]
50+
![Device details](./media/iot-hub-portal-csharp-module-twin-getstarted/create-module-id.png)
5151

5252
Save and click the just created module identity. You can see the module identity details. Save the connect string - primary key. It will be used in the next section where you set up your module on the device.
5353

54-
![Device details][12]
54+
![Device details](./media/iot-hub-portal-csharp-module-twin-getstarted/module-details.png)
5555

5656
## Update the module twin using .NET device SDK
5757

@@ -61,19 +61,19 @@ You've successfully created the module identity in your IoT Hub. Let's try to co
6161

6262
In Visual Studio, add a Visual C# Windows Classic Desktop project to the existing solution by using the **Console App (.NET Framework)** project template. Make sure the .NET Framework version is 4.6.1 or later. Name the project **UpdateModuleTwinReportedProperties**.
6363

64-
![Create a visual studio project][13]
64+
![Create a visual studio project](./media/iot-hub-csharp-csharp-module-twin-getstarted/update-twins-csharp1.png)
6565

6666
## Install the latest Azure IoT Hub .NET device SDK
6767

68-
Module identity and module twin is in public preview. It's only available in the IoT Hub prerelease device SDKs. In Visual Studio, open tools > Nuget package manager > manage Nuget packages for solution. Search Microsoft.Azure.Devices.Client. Make sure you've checked include prerelease check box. Select the latest version and install. Now you have access to all the module features.
68+
Module identity and module twin is in public preview. It's only available in the IoT Hub pre-release device SDKs. In Visual Studio, open tools > Nuget package manager > manage Nuget packages for solution. Search Microsoft.Azure.Devices.Client. Make sure you've checked include pre-release check box. Select the latest version and install. Now you have access to all the module features.
6969

70-
![Install Azure IoT Hub .NET service SDK V1.16.0-preview-005][14]
70+
![Install Azure IoT Hub .NET service SDK V1.16.0-preview-005](./media/iot-hub-csharp-csharp-module-twin-getstarted/install-sdk.png)
7171

7272
## Get your module connection string
7373

74-
Login to [Azure portal][lnk-portal]. Navigate to your IoT Hub and click IoT Devices. Find myFirstDevice, open it and you see myFirstModule was successfully created. Copy the module connection string. It is needed in the next step.
74+
Login to [Azure portal](https://portal.azure.com/). Navigate to your IoT Hub and click IoT Devices. Find myFirstDevice, open it and you see myFirstModule was successfully created. Copy the module connection string. It is needed in the next step.
7575

76-
![Azure portal module detail][15]
76+
![Azure portal module detail](./media/iot-hub-csharp-csharp-module-twin-getstarted/module-detail.png)
7777

7878
## Create UpdateModuleTwinReportedProperties console app
7979

@@ -153,26 +153,12 @@ This code sample shows you how to retrieve the module twin and update reported p
153153

154154
## Run the apps
155155

156-
You are now ready to run the apps. In Visual Studio, in Solution Explorer, right-click your solution, and then click **Set StartUp projects**. Select **Multiple startup projects**, and then select **Start** as the action for the console app. And then press F5 to start both apps running.
156+
You are now ready to run the apps. In Visual Studio, in Solution Explorer, right-click your solution, and then click **Set StartUp projects**. Select **Multiple startup projects**, and then select **Start** as the action for the console app. And then press F5 to start both apps running.
157157

158158
## Next steps
159159

160160
To continue getting started with IoT Hub and to explore other IoT scenarios, see:
161161

162-
* [Get started with IoT Hub module identity and module twin using .NET backup and .NET device][lnk-csharp-csharp-getstarted]
163-
* [Getting started with IoT Edge][lnk-iot-edge]
162+
* [Get started with IoT Hub module identity and module twin using .NET backup and .NET device](iot-hub-csharp-csharp-module-twin-getstarted.md)
164163

165-
166-
<!-- Images. -->
167-
[9]:./media/iot-hub-portal-csharp-module-twin-getstarted/create-module-id.JPG
168-
[12]:./media/iot-hub-portal-csharp-module-twin-getstarted/module-details.JPG
169-
[13]: ./media/iot-hub-csharp-csharp-module-twin-getstarted/update-twins-csharp1.JPG
170-
[14]: ./media/iot-hub-csharp-csharp-module-twin-getstarted/install-sdk.png
171-
[15]: ./media/iot-hub-csharp-csharp-module-twin-getstarted/module-detail.JPG
172-
<!-- Links -->
173-
[lnk-hub-sdks]: iot-hub-devguide-sdks.md
174-
[lnk-free-trial]: https://azure.microsoft.com/pricing/free-trial/
175-
[lnk-portal]: https://portal.azure.com/
176-
177-
[lnk-csharp-csharp-getstarted]: iot-hub-csharp-csharp-module-twin-getstarted.md
178-
[lnk-iot-edge]: ../iot-edge/tutorial-simulate-device-linux.md
164+
* [Getting started with IoT Edge](../iot-edge/tutorial-simulate-device-linux.md)

articles/iot-hub/iot-hub-protocol-gateway.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ ms.date: 07/11/2017
1111
---
1212

1313
# Support additional protocols for IoT Hub
14+
1415
Azure IoT Hub natively supports communication over the MQTT, AMQP, and HTTPS protocols. In some cases, devices or field gateways might not be able to use one of these standard protocols and require protocol adaptation. In such cases, you can use a custom gateway. A custom gateway enables protocol adaptation for IoT Hub endpoints by bridging the traffic to and from IoT Hub. You can use the [Azure IoT protocol gateway](https://github.com/Azure/azure-iot-protocol-gateway/blob/master/README.md) as a custom gateway to enable protocol adaptation for IoT Hub.
1516

1617
## Azure IoT protocol gateway
17-
The Azure IoT protocol gateway is a framework for protocol adaptation that is designed for high-scale, bidirectional device communication with IoT Hub. The protocol gateway is a pass-through component that accepts device connections over a specific protocol. It bridges the traffic to IoT Hub over AMQP 1.0.
18+
19+
The Azure IoT protocol gateway is a framework for protocol adaptation that is designed for high-scale, bidirectional device communication with IoT Hub. The protocol gateway is a pass-through component that accepts device connections over a specific protocol. It bridges the traffic to IoT Hub over AMQP 1.0.
1820

1921
You can deploy the protocol gateway in Azure in a highly scalable way by using Azure Service Fabric, Azure Cloud Services worker roles, or Windows Virtual Machines. In addition, the protocol gateway can be deployed in on-premises environments, such as field gateways.
2022

@@ -25,17 +27,17 @@ The MQTT adapter also demonstrates the programming model for building protocol a
2527
For flexibility, the Azure IoT protocol gateway and MQTT implementation are provided in an open-source software project. You can use the open-source project to add support for various protocols and protocol versions, or customize the implementation for your scenario.
2628

2729
## Next steps
30+
2831
To learn more about the Azure IoT protocol gateway and how to use and deploy it as part of your IoT solution, see:
2932

3033
* [Azure IoT protocol gateway repository on GitHub](https://github.com/Azure/azure-iot-protocol-gateway/blob/master/README.md)
34+
3135
* [Azure IoT protocol gateway developer guide](https://github.com/Azure/azure-iot-protocol-gateway/blob/master/docs/DeveloperGuide.md)
3236

3337
To learn more about planning your IoT Hub deployment, see:
3438

35-
* [Compare with Event Hubs][lnk-compare]
36-
* [Scaling, high availability, and disaster recovery][lnk-scaling]
37-
* [IoT Hub developer guide][lnk-devguide]
39+
* [Compare with Event Hubs](iot-hub-compare-event-hubs.md)
40+
41+
* [Scaling, high availability, and disaster recovery](iot-hub-scaling.md)
3842

39-
[lnk-compare]: iot-hub-compare-event-hubs.md
40-
[lnk-scaling]: iot-hub-scaling.md
41-
[lnk-devguide]: iot-hub-devguide.md
43+
* [IoT Hub developer guide](iot-hub-devguide.md)

0 commit comments

Comments
 (0)