I’m upgrading to .net 8 isolated model and I have a couple of http triggers that should write a message to a servicebus queue and send back a response message. I have created a response class where I inherit the HttpResponseData parameter. I can pass in values and when I make a call to the endpoint I get a 204 No content response.
When I remove the inheritance and add the HttpResponseData in the response class it works like a charm. In both cases the message is written to the servicebus queue.
I have tried multiple things but in as soon as a I add the HttpReponseData to the class as inherited I get 204.
Magnus Holst Fernsten is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1