You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub/iot-hub-csharp-csharp-schedule-jobs.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,15 +63,17 @@ In this section, you create a .NET console app that responds to a direct method
63
63
64
64
1. In Visual Studio, select **Create a new project**, and then choose the **Console App (.NET Framework)** project template. Select **Next** to continue.
65
65
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**.
67
67
68
-

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":::
69
69
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**.
71
73
72
74
1. In **NuGet Package Manager**, select **Browse** and search for and choose **Microsoft.Azure.Devices.Client**. Select **Install**.
:::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":::
75
77
76
78
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.
77
79
@@ -162,9 +164,13 @@ In this section, you create a .NET console app (using C#) that uses jobs to call
:::imagetype="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":::
Copy file name to clipboardExpand all lines: articles/iot-hub/iot-hub-python-python-schedule-jobs.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,17 +152,17 @@ To create a shared access policy that grants **service connect**, **registry rea
152
152
153
153
2. On the left-side pane of your IoT hub, select **Shared access policies**.
154
154
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**.
156
156
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**.
158
158
159
-

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":::
160
160
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.
162
162
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.
164
164
165
-

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":::
166
166
167
167
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).
0 commit comments