Reputation: 9116
I'm migrating to "App Service for Linux". Unfortunately, it doesn't support WebJobs. And here it says it won't. It suggests using Azure Functions instead.
I have a continuous application with no triggers. It should be always running, something like this:
while (true)
{
// The logic
}
How should I utilize Azure Functions for such an application?
Upvotes: 2
Views: 1750
Reputation: 18387
Maybe Azure Functions may not be the right tool for your scenario, it's best used for code that runs after some event, not for always running code.
Take a look on Hangfire, it can be executed on Linux and allows your scenario: https://www.hangfire.io/
Upvotes: 3