Skip to content

Commit 04c0fad

Browse files
authored
Merge pull request #206860 from w-azure/winona-sched
Updated the Schedule & broadcast jobs articles
2 parents 286229f + c6e286b commit 04c0fad

File tree

7 files changed

+18
-12
lines changed

7 files changed

+18
-12
lines changed

articles/iot-hub/iot-hub-csharp-csharp-schedule-jobs.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,17 @@ In this section, you create a .NET console app that responds to a direct method
6363

6464
1. In Visual Studio, select **Create a new project**, and then choose the **Console App (.NET Framework)** project template. Select **Next** to continue.
6565

66-
1. In **Configure your new project**, name the project *SimulateDeviceMethods*, and then select **Create**.
66+
1. In **Configure your new project**, name the project *SimulateDeviceMethods* then select **Next**.
6767

68-
![Configure your SimulateDeviceMethods project](./media/iot-hub-csharp-csharp-schedule-jobs/configure-device-app.png)
68+
:::image type="content" source="./media/iot-hub-csharp-csharp-schedule-jobs/configure-device-app.png" alt-text="Screenshot of the 'Configure your new project' popup in Visual Studio." lightbox="./media/iot-hub-csharp-csharp-schedule-jobs/configure-device-app.png":::
6969

70-
1. In Solution Explorer, right-click the **SimulateDeviceMethods** project, and then select **Manage NuGet Packages**.
70+
1. Accept the default version of the .NET Framework then select **Create** to create the project.
71+
72+
1. In Solution Explorer, right-click the **SimulateDeviceMethods** project then select **Manage NuGet Packages**.
7173

7274
1. In **NuGet Package Manager**, select **Browse** and search for and choose **Microsoft.Azure.Devices.Client**. Select **Install**.
7375

74-
![NuGet Package Manager window Client app](./media/iot-hub-csharp-csharp-schedule-jobs/device-app-nuget.png)
76+
:::image type="content" source="./media/iot-hub-csharp-csharp-schedule-jobs/device-app-nuget.png" alt-text="Screenshot of the NuGet Package Manager in Visual Studio." lightbox="./media/iot-hub-csharp-csharp-schedule-jobs/device-app-nuget.png":::
7577

7678
This step downloads, installs, and adds a reference to the [Azure IoT device SDK](https://www.nuget.org/packages/Microsoft.Azure.Devices.Client/) NuGet package and its dependencies.
7779

@@ -162,9 +164,13 @@ In this section, you create a .NET console app (using C#) that uses jobs to call
162164

163165
1. In Visual Studio, select **File** > **New** > **Project**. In **Create a new project**, choose **Console App (.NET Framework)**, and then select **Next**.
164166

165-
1. In **Configure your new project**, name the project *ScheduleJob*. For **Solution**, choose **Add to solution**, and then select **Create**.
167+
1. In **Configure your new project**, name the project *ScheduleJob* then select **Create**.
168+
169+
![Name and configure you ScheduleJob project]()
170+
171+
:::image type="content" source="./media/iot-hub-csharp-csharp-schedule-jobs/config-schedule-job-app.png" alt-text="Screenshot of the 'Configure your new project' popup in Visual Studio, where you add a name." lightbox="./media/iot-hub-csharp-csharp-schedule-jobs/config-schedule-job-app.png":::
166172

167-
![Name and configure you ScheduleJob project](./media/iot-hub-csharp-csharp-schedule-jobs/config-schedule-job-app.png)
173+
1. Accept the default version of the .NET Framework then select **Create** to create the project.
168174

169175
1. In Solution Explorer, right-click the **ScheduleJob** project, and then select **Manage NuGet Packages**.
170176

articles/iot-hub/iot-hub-python-python-schedule-jobs.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,17 @@ To create a shared access policy that grants **service connect**, **registry rea
152152
153153
2. On the left-side pane of your IoT hub, select **Shared access policies**.
154154
155-
3. From the top menu above the list of policies, select **Add**.
155+
3. From the top menu above the list of policies, select **Add shared access policy**.
156156
157-
4. On the **Add a shared access policy** pane, enter a descriptive name for your policy; for example: *serviceAndRegistryReadWrite*. Under **Permissions**, select **Service connect** and **Registry write** (**Registry read** is automatically selected when you select **Registry write**). Then select **Create**.
157+
4. On the **Add shared access policy** pane, enter a descriptive name for your policy; for example: *serviceAndRegistryReadWrite*. Under **Permissions**, select **Registry Write** and **Service Connect** (**Registry Read** is automatically selected when you select **Registry Write**) then select **Add**.
158158
159-
![Show how to add a new shared access policy](./media/iot-hub-python-python-schedule-jobs/add-policy.png)
159+
:::image type="content" source="./media/iot-hub-python-python-schedule-jobs/add-policy.png" alt-text="Screenshot of how to add a new access policy in the IoT Hub of the Azure portal." lightbox="./media/iot-hub-python-python-schedule-jobs/add-policy.png":::
160160
161-
5. Back on the **Shared access policies** pane, select your new policy from the list of policies.
161+
5. Back on the **Shared access policies** page, select your new policy from the list of policies.
162162
163-
6. Under **Shared access keys**, select the copy icon for the **Connection string -- primary key** and save the value.
163+
6. In the new pane that appears, select the copy icon for the **Primary connection string** and save the value.
164164
165-
![Show how to retrieve the connection string](./media/iot-hub-python-python-schedule-jobs/get-connection-string.png)
165+
:::image type="content" source="./media/iot-hub-python-python-schedule-jobs/get-connection-string.png" alt-text="Screenshot of how to get the primary connection string from an access policy in the IoT Hub of the Azure portal." lightbox="./media/iot-hub-python-python-schedule-jobs/get-connection-string.png":::
166166
167167
For more information about IoT Hub shared access policies and permissions, see [Access control and permissions](./iot-hub-dev-guide-sas.md#access-control-and-permissions).
168168
-189 Bytes
Loading
551 Bytes
Loading
-13.6 KB
Loading
34.9 KB
Loading
29.8 KB
Loading

0 commit comments

Comments
 (0)