1

I've already seen this question and many similar others, but I checked the dll versions, and they are all at 3.1.0 (.Net CORE 3.1.0), so I don't know why the ILogger logger parameter is not bound in my Azure Functions application.

The error is the usual:

The 'Users_POST' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'Users_POST'. Microsoft.Azure.WebJobs.Host: Cannot bind parameter 'logger' to type ILogger. Make sure the parameter Type is supported by the binding. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).

Cindy Pau
  • 13,085
  • 1
  • 15
  • 27
Andrea
  • 555
  • 5
  • 28
  • I could investigate more this problem: it looks that everythign depends on the situation I describe in the new StackOverflow question I just created: https://stackoverflow.com/questions/59291143/simply-adding-entityframeworkcore-to-a-basic-azure-function-application-goes-in – Andrea Dec 11 '19 at 17:30
  • Hi, can you show the .csproj file that you are using now? – Cindy Pau Dec 12 '19 at 01:24

0 Answers0