I have got a simple Azure Function with .NET that returns an array of Strings. I developed the function in VS 2019 Professional Edition. When I start and test the Function it works all pretty fine without errors.
Being a fan of the Jetbrains products, I was eager to try Rider. So I opened the project in Rider. Unfortunately, however, the function does not work. I geht an Error that says:
Executed 'GetJson' (Failed, Id=4b4e042, Duration=307ms)
[2021-08-02T07:14:43.582Z] System.Private.CoreLib: Exception while executing function: GetWerbetraegerTypes. System.Web.Http: The request does not have an associated configuration object or the provided configuration was null.
My expectation would have been to be able to run the same code directly in Rider, without any problems or other configurations.
Is it possible to run that function without any changes to made? Ofcourse I would have added a HttpConfiguration. But actually this is not really needed. When I upload the function to Azure, it works just fine.
Can you give me a hint please?