Create a web job using the console application (.Net framework)and deploy on azure app service.

Sachin Hegadepatil
ashsoftware
Published in
3 min readOct 7, 2019

Before we start, I would suggest having a look at Create your first web job using Azure Web job (.Net Framework) to understand the basics of the web job.

I hope you have read the above article and let’s continue to create a web job using the console application.

First, you need to create the console application in visual studio.

Then select the OK button and the Visual Studio will create the project.

You can code your task in this application. For example, I will display the numbers from 0 to 9 through the loop.

When you are done with your code, you need to build the code. Then go to the bin>debug> folder of your project. There you will see your project DLL, config, etc files.

You need to create the compressed ZIP of the whole folder.

You have to go to the Azure app service and select web jobs.

You will get the following screen, click on the ADD button then you will get the following window.

You can enter the name of the web job in the name field and select the zip file.

When you are done with the file path then click on the OK button.

There you can see the web jobs list.

Whenever your web job is completed you can also see the logs. You have to select the Logs from the options.

Summary

We have learned about how to create a web job and deploy it on the azure app service.

--

--