What should you do?

You develop an ASP.NET Web API that is hosted as an Azure Web App. The API uses a WebJob to process information. The WebJob has a very long start up time.You configure to WebJob to run continuously. You observe that the WebJob is not running and processing information as expected.You need to ensure the WebJob runs continuously.What should you do?

Question:

What should you do?

Options:

Enable the Always On configuration setting for the Web App.

Update the API self-host by using the Open Web Interface for .NET (OWIN). Migrate the API to Azure Service Fabric.

Schedule the WebJob by using the Azure Scheduler.

Include a settings.job JSON file at the root of the WebJob zip file and include a valid CRON expression.

Correct Answer

The Correct Answer for this Question is

Enable the Always On configuration setting for the Web App.

Leave a Comment