Synchronous operations are disallowed error with AspNetCore integration when using HttpResponseDataExtensions.WriteString #2184
Labels
area: http
Items related to experience improvements for HTTP triggers
Repro steps:
Create a new net8 isolated app with one http trigger.
Add a reference to the Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore NuGet package, version 1.0.0 or later to your project.
Update startup code
Update the HttpTrigger function class to have below 3 functions
Run the app and execute all functions. "Bar" and "Foo2" will work. "Foo" will fail with below exception.
Packages used
The text was updated successfully, but these errors were encountered: