question

GuilhermeSchiavone-4506 avatar image
0 Votes"
GuilhermeSchiavone-4506 asked MayankBargali-MSFT edited

Azure Function in .NET5 isolated process build a docker image container, but not trigger the messages.

We recently migrated our Azure Functions to .NET5 and we are running this function inside a docker container, however the image is builded but in run it is returned that Microsoft.AspNetCore.App was not found in version 5.0.0 and cannot handle the messages from Service Bus. DockerFile we are using:

113879-image.png


Error:
114001-image.png

Does anyone have any ideas??


azure-functions
image.png (47.2 KiB)
image.png (11.7 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@GuilhermeSchiavone-4506 Apology for the delay. Can you please confirm if you still observe the same behavior?

1 Vote 1 ·

Hi! Thanks for answering. Yes, we still in the same behavior

0 Votes 0 ·

@GuilhermeSchiavone-4506 It looks like the dotnet-isolated does not contained the ASP.NET Core and therefore you are getting the Microsoft.AspNetCore.App not found issue.
I think mcr.microsoft.com/dotnet/aspnet:5.0 contains the full asp.net core. I do see other reported the issue here. I will suggest you to create the issue in azure functions docker github repro so the team can assist you further.

0 Votes 0 ·

0 Answers