Azure Functions provides a serverless platform for running event-driven applications without managing the underlying infrastructure. Developers can use it to execute code in response to HTTP requests, queue messages, timer schedules, database changes, and other events.
With .NET 11, Azure Functions introduces an updated development and deployment experience through the isolated worker model. Developers can build serverless applications using the latest .NET capabilities while keeping application dependencies and startup configuration separate from the Azure Functions host.
.NET 11 support in Azure Functions became generally available on November 10, 2026. This release also introduces a new project SDK called Azure.Functions.Sdk, which simplifies project configuration and replaces the older build SDK package approach.
This article explains how to create a .NET 11 isolated worker application, configure its project, implement an HTTP-triggered function, run it locally, and deploy it to Azure Functions.
Understanding the .NET 11 Isolated Worker Model
Azure Functions supports two execution models for .NET applications: the in-process model and the isolated worker model.
In the in-process model, function code runs inside the same process as the Azure Functions host. This creates a closer relationship between the application and the runtime.
In the isolated worker model, the function application runs in a separate .NET worker process. The Functions host manages triggers and bindings, while the worker process executes application code.
This separation provides several advantages:
- Application dependencies are isolated from assemblies used by the Functions host.
- Developers have greater control over application startup and configuration.
- Standard .NET dependency injection can be used.
- Custom middleware can be registered in the worker pipeline.
- Application code can target supported .NET versions independently of the Functions host process.
.NET 11 is supported through the isolated worker model on Azure Functions runtime 4.x. It is not supported by the in-process model.
There is also an important migration consideration. Support for the in-process model ended on November 10, 2026. Existing applications using that model should migrate to isolated worker to continue receiving full support.
What's New in .NET 11 Azure Functions?
The .NET 11 release introduces a simpler project configuration model for Azure Functions.
The most important change is the introduction of Azure.Functions.Sdk as the project SDK.
Previously, an isolated worker project commonly used Microsoft.NET.Sdk as its project SDK and included Microsoft.Azure.Functions.Worker.Sdk as a package reference.
With the new approach, the Functions build integration is included in the project SDK declaration.
For example:
<Project Sdk="Azure.Functions.Sdk/1.0.1">
The new SDK provides several capabilities:
- Integrates Azure Functions build requirements into the project SDK.
- Automatically configures Azure Functions runtime version 4.x.
- Includes the source generators and analyzers used to prepare function metadata.
- Supports the updated Azure Functions development tooling.
- Integrates with dotnet run when Azure Functions Core Tools is installed.
- Removes the need for several older project properties.
The new SDK does not replace the worker runtime package. Developers must continue referencing Microsoft.Azure.Functions.Worker explicitly.
.NET 11 support is currently available for C# applications. F# support is temporarily unavailable.
Prerequisites
Before creating a .NET 11 Azure Functions application, prepare your development environment.
You need the following tools:
- .NET 11 SDK.
- Azure Functions Core Tools updated to a version that supports .NET 11.
- Visual Studio or Visual Studio Code with compatible Azure development tooling.
- Azure CLI for managing Azure resources.
- An Azure subscription.
- A storage account for the Functions application.
You can verify the installed .NET SDK:
dotnet --version
Check the installed Azure Functions Core Tools version:
func --version
Make sure your installed templates and Core Tools support the net11.0 target framework.
You can also verify your Azure CLI installation:
az --version
These tools are required for creating, testing, configuring, and deploying the function application.
Creating a .NET 11 Isolated Worker Project
Azure Functions Core Tools provides a command-line workflow for creating a new .NET 11 isolated worker project.
Open a terminal and run:
func init --worker-runtime dotnet-isolated --target-framework net11.0
This command creates a new Azure Functions project configured for the .NET 11 isolated worker model.
After creating the project, navigate to its directory:
cd MyDotNet11Functions
Create an HTTP-triggered function:
func new --name HelloFunction --template "HTTP trigger"
The generated project contains the basic files required by an isolated worker application.
A typical project structure looks like this:
MyDotNet11Functions/
│
├── Functions/
│ └── HelloFunction.cs
│
├── Program.cs
├── MyDotNet11Functions.csproj
├── host.json
└── local.settings.json
The project file contains the target framework and package references.
Program.cs configures and starts the worker process.
The Functions directory contains the function implementations.
The host.json file contains configuration shared by the Functions host, while local.settings.json stores local development settings.
Configuring the Project File
One of the most important changes in .NET 11 Azure Functions is the project SDK configuration.
Open the generated project file and review its contents.
A basic configuration looks like this:
<Project Sdk="Azure.Functions.Sdk/1.0.1">
<PropertyGroup>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference
Include="Microsoft.Azure.Functions.Worker"
Version="2.52.0" />
<PackageReference
Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore"
Version="2.1.1" />
</ItemGroup>
</Project>
The project targets .NET 11 through the net11.0 target framework.
Azure.Functions.Sdk version 1.0.1 or later is required for .NET 11 projects.
Microsoft.Azure.Functions.Worker provides the isolated worker runtime. Version 2.50.0 or later is recommended for .NET 11.
The HTTP ASP.NET Core integration package is included because the example uses the ASP.NET Core HTTP integration model.
These package versions are examples based on the current .NET 11 template. Check package compatibility and use appropriate stable versions when creating a new application.
If your application uses additional triggers or bindings, install the corresponding Microsoft.Azure.Functions.Worker.Extensions packages.
For example, a Blob Storage trigger requires the appropriate Blob extension package.
Understanding the New Project SDK
The new Azure.Functions.Sdk changes how the project is built.
In older isolated worker projects, developers commonly used the following configuration:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference
Include="Microsoft.Azure.Functions.Worker"
Version="2.52.0" />
<PackageReference
Include="Microsoft.Azure.Functions.Worker.Sdk"
Version="2.0.7" />
</ItemGroup>
</Project>
With the new SDK, the project becomes:
<Project Sdk="Azure.Functions.Sdk/1.0.1">
<PropertyGroup>
<TargetFramework>net11.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference
Include="Microsoft.Azure.Functions.Worker"
Version="2.52.0" />
</ItemGroup>
</Project>
Notice the important differences:
| Previous configuration | New configuration |
|---|
| Microsoft.NET.Sdk | Azure.Functions.Sdk |
| Microsoft.Azure.Functions.Worker.Sdk package | Included through the project SDK |
| Explicit OutputType property | Configured automatically |
| Explicit AzureFunctionsVersion property | Defaults to Functions runtime 4.x |
| Worker indexing configuration | Enabled automatically |
The Microsoft.Azure.Functions.Worker package must remain in the project because it provides the actual worker runtime.
The new SDK replaces the build SDK package, not the worker runtime package.
For an existing project, remove the older worker SDK package reference and migrate the project configuration carefully.
Configuring Program.cs
The isolated worker model gives developers control over application startup.
You can register services, configure application settings, add middleware, and integrate telemetry before starting the Functions application.
The following example uses the modern IHostApplicationBuilder approach:
using Microsoft.Azure.Functions.Worker.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
var builder = FunctionsApplication.CreateBuilder(args);
builder.ConfigureFunctionsWebApplication();
builder.Services.AddSingleton<IGreetingService, GreetingService>();
var host = builder.Build();
host.Run();
The FunctionsApplication.CreateBuilder method creates the application builder with the required Azure Functions worker defaults.
The ConfigureFunctionsWebApplication method enables ASP.NET Core integration for HTTP-triggered functions.
The AddSingleton method registers a service that can be injected into function classes.
This approach allows developers to use familiar .NET dependency injection patterns instead of manually creating service instances inside every function.
For applications that do not need ASP.NET Core HTTP integration, use the appropriate worker configuration instead.
Creating an HTTP-Triggered Function
Now create an HTTP-triggered function that returns a greeting.
Create a file named HelloFunction.cs:
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;
using System.Net;
namespace MyDotNet11Functions.Functions;
public class HelloFunction
{
[Function("HelloFunction")]
public async Task<HttpResponseData> Run(
[HttpTrigger(
AuthorizationLevel.Function,
"get",
"post")] HttpRequestData req)
{
var response = req.CreateResponse(HttpStatusCode.OK);
await response.WriteStringAsync(
"Hello from .NET 11 Azure Functions!");
return response;
}
}
The Function attribute identifies the method as an Azure Function.
The HttpTrigger attribute defines the trigger type and supported HTTP methods.
AuthorizationLevel.Function requires a function key when the endpoint is accessed through Azure.
The method creates an HTTP response and returns a simple message.
This example uses the standard HTTP request and response types from the isolated worker model. If you use ASP.NET Core integration, you can also work with ASP.NET Core HTTP types.
Running the Function Locally
Before deploying the application, test it locally.
Restore the project dependencies:
dotnet restore
Build the application:
dotnet build
Start the function application:
dotnet run
When Azure Functions Core Tools is installed and the project uses the new SDK, dotnet run starts the Functions host through the updated tooling integration.
You can also use the Core Tools command:
func start
The local Functions host displays the available HTTP endpoints.
For example:
http://localhost:7071/api/HelloFunction
Open the endpoint in a browser or API client.
The expected response is:
Hello from .NET 11 Azure Functions!
If the function does not appear, check the build output and function discovery messages. Also verify that the required worker and trigger extension packages are installed.
Configuring Local Application Settings
Azure Functions uses application settings to configure runtime behavior and connect to external services.
During local development, these settings are stored in local.settings.json.
A basic example looks like this:
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated"
}
}
AzureWebJobsStorage provides the storage connection used by the Functions host and certain triggers.
UseDevelopmentStorage=true assumes that an appropriate local storage emulator, such as Azurite, is available.
FUNCTIONS_WORKER_RUNTIME identifies the isolated .NET worker.
The local settings file is intended for development. Its values are not automatically transferred to Azure during deployment.
In Azure, configure the corresponding application settings through the Function App configuration, deployment templates, or another secure configuration management process.
Never commit production connection strings, passwords, or other secrets to source control.
Creating an Azure Function App
After successfully testing the application locally, create the required Azure resources.
A typical deployment requires:
- An Azure resource group.
- A storage account.
- An Azure Function App.
- A supported hosting plan.
- An appropriate operating system and .NET 11 isolated worker configuration.
The hosting plan is important because .NET 11 has specific platform restrictions.
For example, Linux Consumption does not support .NET 10 or later applications. If you want to run .NET 11 on Linux, use the Flex Consumption plan or another supported hosting option.
Windows hosting and supported Linux hosting plans have different runtime configuration requirements.
You can create resources through the Azure portal, Azure CLI, Bicep, or other supported infrastructure deployment tools.
The following example shows the general resource creation workflow using Azure CLI:
az login
az group create \
--name DotNet11FunctionsRG \
--location centralindia
Create a storage account:
az storage account create \
--name dotnet11functionstorage \
--resource-group DotNet11FunctionsRG \
--location centralindia \
--sku Standard_LRS
Storage account names must be globally unique and follow Azure naming requirements.
The remaining Function App creation commands depend on the selected operating system and hosting plan. Choose a plan that supports the .NET 11 isolated worker stack before creating the application.
Configuring the Function App for .NET 11
Creating the Function App is not enough. The Azure environment must also be configured to run the correct .NET isolated worker version.
The required settings depend on the operating system.
Windows Function App
For Windows hosting, configure the worker runtime and .NET framework version.
The worker runtime application setting should be:
FUNCTIONS_WORKER_RUNTIME=dotnet-isolated
The Functions runtime should use version 4.x:
FUNCTIONS_EXTENSION_VERSION=~4
The Function App site configuration must also target the appropriate .NET 11 version.
Linux Function App
For Linux hosting, configure the isolated worker stack through the Linux runtime setting.
The relevant configuration is:
FUNCTIONS_WORKER_RUNTIME=dotnet-isolated
FUNCTIONS_EXTENSION_VERSION=~4
linuxFxVersion=DOTNET-ISOLATED|11.0
The Linux runtime setting identifies the language and version used by the application.
Before applying it, verify that the selected hosting plan and region support the required stack.
You can inspect available Linux runtime values using:
az functionapp list-runtimes \
--os linux \
--output table
Do not assume that every Linux hosting plan supports every .NET version. In particular, Linux Consumption does not support .NET 10 or .NET 11.
Publishing the Application to Azure Functions
After configuring the Function App, deploy the application.
Azure Functions Core Tools provides a straightforward publishing command.
Run the following command from the function project directory:
func azure functionapp publish <FUNCTION_APP_NAME>
Replace the placeholder with your actual Function App name.
For example:
func azure functionapp publish dotnet11-orders-api
The publishing process builds the application, prepares the deployment package, and deploys it to Azure.
For ZIP deployment, the deployment package must contain the files generated by the Functions build process.
Important files include:
- host.json.
- functions.metadata.
- worker.config.json.
- extensions.json.
- The application executable.
- Required supporting assemblies and files.
- The .azurefunctions directory.
When creating a ZIP package manually, compress the contents of the publish output directory rather than the parent directory.
The host.json file must appear at the root of the extracted deployment package.
For most supported hosting plans, ZIP deployment is the recommended deployment approach.
Verifying the Deployment
After publishing, verify that the Function App has started successfully.
First, inspect the Function App state:
az functionapp show \
--name <FUNCTION_APP_NAME> \
--resource-group DotNet11FunctionsRG \
--query state
The expected state is Running.
Next, list the deployed functions:
az functionapp function list \
--name <FUNCTION_APP_NAME> \
--resource-group DotNet11FunctionsRG \
--output table
Check the application logs if the function does not start or appear in the list.
You can also use the Azure portal to inspect:
- Function App status.
- Function availability.
- Application settings.
- Application Insights telemetry.
- Deployment history.
- Log stream output.
For HTTP-triggered functions, retrieve the function URL through the Azure portal or Azure CLI and test it using a browser or API client.
If the function uses function-level authorization, include the required function key in the request.
Using OpenTelemetry for Monitoring
Monitoring is important for serverless applications because functions may execute only when an event occurs.
The .NET 11 Azure Functions template includes support for OpenTelemetry-based monitoring through the relevant worker and exporter packages.
For example, you can configure Azure Monitor telemetry in Program.cs:
using Azure.Monitor.OpenTelemetry.Exporter;
using Microsoft.Azure.Functions.Worker.Builder;
using Microsoft.Azure.Functions.Worker.OpenTelemetry;
using Microsoft.Extensions.DependencyInjection;
var builder = FunctionsApplication.CreateBuilder(args);
builder.ConfigureFunctionsWebApplication();
builder.Services
.AddOpenTelemetry()
.UseFunctionsWorkerDefaults()
.UseAzureMonitorExporter();
var host = builder.Build();
host.Run();
This configuration enables OpenTelemetry integration and exports telemetry to Azure Monitor.
The application must also have the appropriate Azure Monitor configuration, including the required connection information.
For production applications, monitor function execution duration, failures, dependencies, and application exceptions.
You can use the collected telemetry to investigate performance problems and identify failures in external service calls.
The exact telemetry configuration should match your application's monitoring requirements. Avoid registering multiple overlapping telemetry providers without understanding how they interact.
Migrating Existing Applications to .NET 11
If you already have an isolated worker application targeting an earlier .NET version, you can upgrade it to .NET 11.
The migration involves updating both the target framework and the project SDK configuration.
Start by reviewing the compatibility of your NuGet dependencies and Azure Functions binding extensions.
Then update the project file.
The main changes include:
- Change the project SDK to Azure.Functions.Sdk version 1.0.1 or later.
- Change the target framework to net11.0.
- Remove the Microsoft.Azure.Functions.Worker.Sdk package reference.
- Keep an explicit Microsoft.Azure.Functions.Worker package reference.
- Update worker and binding extension packages to compatible versions.
- Remove the OutputType property if it was explicitly configured.
- Remove the AzureFunctionsVersion property because the new SDK defaults to Functions runtime 4.x.
- Remove FunctionsEnableWorkerIndexing if it exists.
The build SDK migration itself does not require changes to Program.cs, function classes, or host.json when using a current worker package.
However, upgrading the target framework is a separate change. Test all triggers, bindings, dependencies, and deployment configurations before releasing the upgraded application.
If the existing application uses the in-process model, migrate it to the isolated worker model first. A direct target framework change is not sufficient.
Common Deployment Problems and Troubleshooting
| Problem | Possible cause | What to check |
|---|
| Project does not restore | Incorrect Functions SDK version | Use Azure.Functions.Sdk 1.0.1 or later |
| Worker runtime fails to start | Missing worker package | Keep Microsoft.Azure.Functions.Worker explicitly referenced |
| Function is not discovered | Missing or incorrect binding extension | Check the required extension package and generated metadata |
| Application fails after deployment | Incorrect runtime stack | Verify the .NET 11 isolated worker configuration |
| Linux application does not start | Unsupported hosting plan | Migrate from Linux Consumption to Flex Consumption or another supported plan |
| HTTP function is unavailable | Incorrect trigger or endpoint configuration | Inspect function discovery and deployment logs |
| Storage-related errors occur | Incorrect storage connection | Verify AzureWebJobsStorage |
| Application runs locally but fails in Azure | Environment or dependency differences | Compare local and cloud configuration and inspect runtime logs |
When troubleshooting, inspect the deployment output and Function App logs first. Verify that the application is targeting net11.0 and that the Azure environment is configured for the .NET 11 isolated worker stack.
Best Practices for .NET 11 Azure Functions
Use the new Functions project SDK
Use Azure.Functions.Sdk for new .NET 11 projects. Avoid retaining the older worker SDK package reference when migrating to the new project SDK.
Keep the worker runtime reference
The new project SDK does not replace Microsoft.Azure.Functions.Worker. Keep this package explicitly referenced and use a compatible version.
Use dependency injection
Register application services through the standard .NET dependency injection container. This makes functions easier to test and maintain.
Separate business logic from triggers
Keep function methods focused on receiving events and returning responses. Move business operations into services so that they can be reused and tested independently.
Protect application settings
Store secrets and connection strings in secure configuration systems. Use managed identities where supported to reduce the need for long-lived credentials.
Validate hosting plan compatibility
Check the supported .NET version, operating system, and hosting plan before creating or upgrading a Function App. Linux Consumption is not supported for .NET 10 or later.
Monitor production executions
Use Azure Monitor and OpenTelemetry to track failures, execution duration, and external dependencies. Monitoring helps identify issues that may not appear during local testing.
Test before production deployment
Validate the application locally and in a staging environment. Test all triggers, bindings, storage connections, and external dependencies before moving the application to production.
Advantages and Disadvantages
Advantages
- Supports modern .NET development through the isolated worker model.
- Provides better separation between the application and Functions host.
- Uses standard .NET dependency injection and middleware.
- Simplifies project configuration through Azure.Functions.Sdk.
- Supports OpenTelemetry-based monitoring.
- Provides flexibility when configuring application startup.
- Works with event-driven serverless architectures.
Disadvantages
- Requires compatible Azure Functions tooling and SDK versions.
- Existing in-process applications need migration before adopting .NET 11.
- Linux Consumption does not support .NET 11.
- Binding extensions and third-party packages must be checked for compatibility.
- Deployment requires correct runtime and hosting plan configuration.
- Developers must understand the differences between the worker runtime and Functions host.
Conclusion
.NET 11 brings a simpler project configuration and an updated development experience to Azure Functions through the isolated worker model.
The introduction of Azure.Functions.Sdk reduces the amount of manual project configuration required while preserving the flexibility of the isolated worker architecture. Developers can use standard .NET dependency injection, configure application startup, implement HTTP and event-driven functions, and deploy applications to supported Azure hosting plans.
For new projects, use the updated SDK and compatible worker packages from the beginning. For existing applications, review dependencies, migrate the project configuration, and test every trigger and binding before deployment.
The most important deployment consideration is choosing a supported Azure hosting environment. In particular, Linux Consumption cannot host .NET 11 applications, so Linux deployments should use Flex Consumption or another supported plan.
With the correct project configuration, runtime settings, and deployment workflow, .NET 11 provides a practical foundation for building and operating modern serverless applications on Azure Functions.
Join the conversation! Your thoughts help the community grow.