Access an Azure Web App from a Web Job using the localhost endpoint? -


if have web app (asp.net mvc) deployed in azure , had web job configured run alongside web app, understanding web job console application (or sorts) runs , waits on message queue.

when message arrives, can webjob call webapp using local address:

http://localhost:4564/api/myfunc

as opposed to:

http://mynewapp.azurewebsites.net/api/myfunc

(1) can done? (2) make sense do?

thanks!

no not possible webjob directly send requests site via localhost. limitation documented on sandbox page.