I would double check your package references. I have a .NET 8 isolated function app and I'm using 6.3.0 of Microsoft.Azure.Functions.Worker.Extensions.Storage.Blobs and don't have any issues. My guess is that after upgrading the project. not all the package references got updated.
Function App Blob Trigger not working after migrating to isolated model
Keijzer, Paul de
0
Reputation points
After migrating my function app from in process (.NET 6) to isolated (.NET 8), I am encountering a runtime error related to the blob binding. I have migrated multiple function apps already, but for this one I am encountering a runtime exception on the BlobTrigger after deploying. The function works well locally, using Azurite.
Method signature:
[Function("AdnMessageHandler")]
public async Task Run([BlobTrigger("adn-input/{name}.xml", Connection = "saanlaragadn")] Stream blob, string name)
csproj
host.json
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
},
"fileLoggingMode": "always",
"logLevel": {
"default": "Information"
}
}
}
Error:
Exception while executing function: Functions.AdnMessageHandler Exception binding parameter 'blob' Method not found: 'Void Microsoft.Azure.WebJobs.ParameterBindingData..ctor(System.String, System.String, System.BinaryData, System.String)'.
Callstack:
Microsoft.Azure.WebJobs.Host.FunctionInvocationException:
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
1 answer
Sort by: Most helpful
-
Ryan Hill 30,326 Reputation points Microsoft Employee Moderator2024-11-25T16:07:48.38+00:00