Reputation: 10915
We want to upgrade an existing In-Process Azure Function to .NET 7.0, since we want to migrate the dependencies to .NET 7.0 too. This Azure Function uses the ServiceBusReceivedMessage
and its metadata, which does not seem to be supported in Isolated Azure Functions.
Creating a wrapper JSON object which contains the metadata of the message is not an option just in order to upgrade to .NET 7.0 (then we would rather stay .NET 6.0 for now).
Do we have to wait for Microsoft to either support ServiceBusReceivedMessage
in isolated Azure Function or support .NET 7.0 for in-process Azure Functions, or do I miss something?
It is a bit sad that only due to the fact that we have an Azure Function we cannot upgrade our entire solution to .NET 7.0.
Upvotes: 0
Views: 645
Reputation: 8714
ServiceBusReceivedMessage
in .NET 7 both in-process and Isolated Worker process.ServiceBusReceivedMessage
is part of Azure.Messaging.ServiceBus
Package that is available up to .NET 6 In-Process Version as shown here.ServiceBusReceivedMessage
in .NET 7, please raise the ticket in Azure-sdk-for-net GitHub Repository.Upvotes: 1