Hello,
I'd like to create .NET Web Jobs under my Linux Azure App Service but when I try to upload my Web Job files in the Azure portal I get an error: "Failed to add 'JobName'. There was an error creating your webjob."
From the documentation I read:
Note: WebJobs for Linux code is in preview.
.sh scripts are supported. In addition to shell scripts, WebJobs written in the language of the selected runtime are also supported. Example: Python (.py) scripts if the main site is a Python code app.
I tried to uploading a published console app - does not work.
I tried creating a Web Job for a Windows App Service, then trying to import that into Azure App Service (not exe) - no luck, does not work.
Main questions but any help is much appreciated:
- Do I understand correctly that if my App Service has a .NET web application running in it, I can then use .NET Web Jobs under that App Service?
- How should I publish my .NET console app to be valid for an Azure Web Job in a Linux App Service? I tried using portable runtime, self-contained & framework dependent etc.
Many thanks,
T