Skip to content

Commit e3b7c21

Browse files
committed
art1-2
1 parent a185205 commit e3b7c21

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

articles/app-service/webjobs-dotnet-deploy-vs.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ Visual Studio adds the following items to a WebJobs-enabled project:
4242
- The [Microsoft.Web.WebJobs.Publish](https://www.nuget.org/packages/Microsoft.Web.WebJobs.Publish/) NuGet package.
4343
- A [webjob-publish-settings.json](#webjob-publish-settingsjson-file) file that contains deployment and scheduler settings.
4444

45-
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/convert.png" alt-text="Diagram showing what's added to a console app to enable deployment as a WebJob.":::
45+
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/convert.png" alt-text="Diagram showing the NuGet package and WebJob publish settings file being added to a console app to enable deployment as a WebJob.":::
4646

4747
You can add these items to an existing console app project or use a template to create a new WebJobs-enabled console app project.
4848

4949
Deploy a project as a WebJob by itself, or link it to a web project so that it automatically deploys whenever you deploy the web project. To link projects, Visual Studio includes the name of the WebJobs-enabled project in a [webjobs-list.json](#webjobs-listjson-file) file in the web project.
5050

51-
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/link.png" alt-text="Diagram showing WebJob project linking to a web project.":::
51+
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/link.png" alt-text="Diagram showing that a WebJobs project is linked to a web project when its name is included in the the webjobs-list.json file.":::
5252

5353
### Prerequisites
5454

@@ -76,15 +76,15 @@ You have two options:
7676

7777
1. In the **Project name** drop-down list, select the console app project to add as a WebJob.
7878

79-
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/aaw1.png" alt-text="Screenshot showing how to select a project in Add Azure WebJob dialog box.":::
79+
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/aaw1.png" alt-text="Screenshot showing how to select a project in the Add Azure WebJob dialog box.":::
8080

8181
1. Complete the [Add Azure WebJob](#add-azure-webjob-dialog-box) dialog box, and then select **OK**.
8282

8383
#### Enable WebJobs deployment without a web project
8484

8585
1. Right-click the console app project in **Solution Explorer**, and then select **Publish as Azure WebJob**.
8686

87-
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/paw.png" alt-text="Publish as Azure WebJob.":::
87+
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/paw.png" alt-text="Screenshot showing how to select Publish as Azure WebJob in the Solution Explorer.":::
8888

8989
The **Add Azure WebJob** dialog box appears, with the project selected in the **Project name** box.
9090

@@ -168,15 +168,15 @@ A WebJobs project that you link to a web project deploys automatically with the
168168

169169
To deploy a WebJobs project by itself, right-click the project in **Solution Explorer** and select **Publish as Azure WebJob**.
170170

171-
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/paw.png" alt-text="Publish as Azure WebJob.":::
171+
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/paw.png" alt-text="Screenshot showing how to select Publish as Azure WebJob in the Solution Explorer.":::
172172

173173
For an independent WebJob, the same **Publish Web** wizard that is used for web projects appears, but with fewer settings available to change.
174174

175175
### Add Azure WebJob dialog box
176176

177177
The **Add Azure WebJob** dialog box lets you enter the WebJob name and the run mode setting for your WebJob.
178178

179-
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/aaw2.png" alt-text="Add Azure WebJob dialog box.":::
179+
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/aaw2.png" alt-text="Screenshot of the Add Azure WebJob dialog box.":::
180180

181181
Some of the fields in this dialog box correspond to fields on the **Add WebJob** dialog box of the Azure portal. For more information, see [Run background tasks with WebJobs in Azure App Service](webjobs-create.md).
182182

@@ -186,7 +186,7 @@ WebJob deployment information:
186186

187187
- If you deploy a WebJob, and then decide you want to change the type of WebJob and redeploy, delete the *webjobs-publish-settings.json* file. Doing so causes Visual Studio to redisplay the publishing options, so you can change the type of WebJob.
188188

189-
- If you deploy a WebJob and later change the run mode from continuous to noncontinuous or vice versa, Visual Studio creates a new WebJob in Azure when you redeploy. If you change other scheduling settings, but leave run mode the same or switch between Scheduled and On Demand, Visual Studio updates the existing job instead of creating a new one.
189+
- If you deploy a WebJob, and later change the run mode between *continuous* and *triggered*, Visual Studio creates a new WebJob in Azure when you redeploy. If you change other scheduling settings, but leave run mode the same or switch between Scheduled and On Demand, Visual Studio updates the existing job instead of creating a new one.
190190

191191
## WebJob types
192192

@@ -222,7 +222,7 @@ WebJobs uses the same CRON expressions for scheduling as the timer trigger in Az
222222

223223
#### settings.job reference
224224

225-
The following settings are supported by WebJobs:
225+
WebJobs supports the following settings in the **settings.job** file:
226226

227227
| **Setting** | **Type** | **Description** |
228228
| ----------- | --------- | --------------- |
@@ -235,15 +235,15 @@ The following settings are supported by WebJobs:
235235

236236
If you enable **Always on** in Azure, you can use Visual Studio to change the WebJob to run continuously:
237237

238-
1. If you haven't already done so, [publish the project to Azure](#deploy-to-azure-app-service).
238+
1. If the project isn't published already, then [publish the project to Azure](#deploy-to-azure-app-service).
239239

240240
1. In **Solution Explorer**, right-click the project and select **Publish**.
241241

242242
1. In the **Settings** section, choose **Show all settings**.
243243

244244
1. In the **Profile settings** dialog box, choose **Continuous** for **WebJob Type**, and then choose **Save**.
245245

246-
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/publish-settings.png" alt-text="Publish Settings dialog box for a WebJob.":::
246+
:::image type="content" source="./media/webjobs-dotnet-deploy-vs/publish-settings.png" alt-text="Screenshot showing the Publish Settings dialog box for a WebJob.":::
247247

248248
1. Select **Publish** in the **Publish** tab to republish the WebJob with the updated settings.
249249

0 commit comments

Comments
 (0)