How to delete Azure WebJob?

Damir Dobric Posts

Next talks:



Follow me on Twitter: #ddobric




Sometimes you want to delete Azure WebJob. It is not the best way, but it is the way which always works, independent on which portal or VS tools version you use.
Connect to your WebSite via FTP client and navigate to folder shown below.

Devil" style="border-left-width:0px;border-right-width:0px;background-image:none;border-bottom-width:0px;padding-top:0px;padding-left:0px;margin:0px;display:inline;padding-right:0px;border-top-width:0px;" border="0" alt="image_thumbDevil" src="" width="321" height="250" />

I had previously deployed a continuous job, which for some reason didn't want to stop. So I had to delete the job process files. I navigated folder continuous and deleted all files. After that you can go to Azure Portal and you will notice that the job is deleted.


Note, if you want to stop the job or to update job executable file (i.e.: myjob.exe) you can simply delete executable file. This will cause the process to be stopped.
Internally this will create following error:

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.HostingProcess.Utilities.Sync, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.”

Posted May 19 2016, 12:02 PM by Damir Dobric is a .Net Community Blog powered by daenet GmbH.