Migrate Function App from In process to Isolated process

Sourav 165 Reputation points
2024-04-29T02:56:48.0966667+00:00

I'm trying to migrate my functions from in process to isolated process.
Previously we used to configure service bus options in the startup like this :

services.Configure<ServiceBusOptions>(options =>
{
    options.MaxConcurrentCalls = 100;
    options.MaxConcurrentSessions = 100;
    options.MaxConcurrentCallsPerSession = 10;
});

Is there any way I can achieve this configuration in isolated process.
The ServiceBusOptions is under Microsoft.Azure.WebJobs.ServiceBus.
Is there any equivalent configuration option in Azure.Functions.Worker?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,367 questions
0 comments No comments
{count} votes

Accepted answer
  1. SwathiDhanwada-MSFT 17,881 Reputation points
    2024-04-29T06:26:04.7466667+00:00

    @Sourav Thanks for reaching out. When migrating to the isolated worker model, you need to change the packages your application references.

    If you haven't already, update your project to reference the latest stable versions of:

    You can replace references to Microsoft.Azure.WebJobs.Extensions.ServiceBus with the latest version of

    Microsoft.Azure.Functions.Worker.Extensions.ServiceBus.Any changes to extension versions during this process might require you to update your host.json file as well. The Service Bus extension has breaking changes in the structure between versions 4.x and 5.x. For more information, see Azure Service Bus bindings for Azure Functions.

    Kindly note that with the isolated model, the only way to configure the extension running in the host is through host.json.

    Reference documents:


0 additional answers

Sort by: Most helpful