I am working on macOS with an external text editor (NOT VisualStudio). I have an asp.net project that I push to my app service using
git push azure main:master
the remote is configured as such https://$name:pass@name.scm.azurewebsites.net:443/name.git
when I go to the web jobs section in the app service to add a web job, I get the error message:
I want to continue using my source control push method while developing... however I would also like to add a csharp console webjob . I have followed the tutorial here (A) https://learn.microsoft.com/en-us/azure/app-service/webjobs-sdk-get-started, and have a functoining console app that consumes a message from a queue.
How can I push this extra console app to my Kudu instance? I read here that there is a 'hidden' structure not in the main doucmentation (A) I linked above for the tutorial: https://github.com/projectkudu/kudu/wiki/WebJobs.
Do I have to manually zip the result of dotnet publish -c Release
to some Kudu folder? Or is there a more elegant way by somehow including this project inside my git repo that I push normally... or using an az cli
tool to push the webjob to the app?