Support for Framework 4.8.1 in Azure Webjobs

Andrew Hawken 6 Reputation points
2022-11-21T15:34:41.84+00:00

Is there support for 4.8.1 in Azure Webjobs
I have upgraded a complex solution to 4.8.1 and although the websites and other components are working, the webjob is failing with

Job failed due to exit code -2146232576

which appears to be to do with Net Versions (although there is little documentation on what code means).

So is 4.8.1 supported. If not yet, when will it be?

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,000 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,959 questions
{count} vote

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 12,641 Reputation points Microsoft Employee
    2022-11-29T08:35:23.287+00:00

    Hello @Andrew Hawken Apologies for late response here! After discussion with PG the update is:

    "Not at this point – no – given 4.8.1 requires WS2022 for server OS’. And there is no ETA at this time to communicate on when the underlying platform will move to WS2022."

    One possibility is to use Windows Containers. Here you can follow the quickstart to run a Windows Container in App Service:

    Quickstart: Run a custom container on App Service - Azure App Service | Microsoft Learn

    For your app, recommended to use the following image as base:
    mcr.microsoft.com/dotnet/framework/aspnet:4.8.1-windowsservercore-ltsc2022

    For more information: https://mcr.microsoft.com/en-us/product/dotnet/framework/aspnet/about

    0 comments No comments